diff --git a/app.log b/app.log index d7c2815..bb4fccb 100644 --- a/app.log +++ b/app.log @@ -48212,3 +48212,21 @@ WHERE camera."Cam_id" = ? AND camera.user_id = ? 2025-09-27 15:45:27,947 - INFO - 127.0.0.1 - - [27/Sep/2025 15:45:27] "GET /video_feed/10.225.231.18:8080 HTTP/1.1" 200 - 2025-09-27 15:45:46,803 - WARNING - No frames received from camera ID 10.225.231.18:8080. 2025-09-27 15:54:39,798 - INFO - * Detected change in 'S:\\CODE\\GitHub OpenSource\\IndShield\\app.py', reloading +2025-09-29 14:43:14,689 - DEBUG - matplotlib data path: C:\GSSOC\IndShield\venv\lib\site-packages\matplotlib\mpl-data +2025-09-29 14:43:14,695 - DEBUG - CONFIGDIR=C:\Users\019176\.matplotlib +2025-09-29 14:43:14,697 - DEBUG - interactive is False +2025-09-29 14:43:14,697 - DEBUG - platform is win32 +2025-09-29 14:43:14,764 - DEBUG - CACHEDIR=C:\Users\019176\.matplotlib +2025-09-29 14:43:14,770 - DEBUG - Using fontManager instance from C:\Users\019176\.matplotlib\fontlist-v390.json +2025-09-29 14:43:15,648 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://127.0.0.1:5000 +2025-09-29 14:43:15,648 - INFO - Press CTRL+C to quit +2025-09-29 14:43:15,652 - INFO - * Restarting with stat +2025-09-29 14:43:18,312 - DEBUG - matplotlib data path: C:\GSSOC\IndShield\venv\lib\site-packages\matplotlib\mpl-data +2025-09-29 14:43:18,317 - DEBUG - CONFIGDIR=C:\Users\019176\.matplotlib +2025-09-29 14:43:18,318 - DEBUG - interactive is False +2025-09-29 14:43:18,319 - DEBUG - platform is win32 +2025-09-29 14:43:18,369 - DEBUG - CACHEDIR=C:\Users\019176\.matplotlib +2025-09-29 14:43:18,373 - DEBUG - Using fontManager instance from C:\Users\019176\.matplotlib\fontlist-v390.json +2025-09-29 14:43:19,005 - WARNING - * Debugger is active! +2025-09-29 14:43:19,010 - INFO - * Debugger PIN: 131-335-467 diff --git a/app.py b/app.py index a600475..a1b68fd 100644 --- a/app.py +++ b/app.py @@ -516,10 +516,25 @@ def manage_employees_route(): def face_auth_page(): return render_template('face_auth.html') + +def get_contributors(): + """Fetches contributor data from the GitHub API.""" + owner = 'SurajSanap' + repo = 'IndShield' + url = f"https://api.github.com/repos/{owner}/{repo}/contributors" + + try: + response = requests.get(url) + response.raise_for_status() # Raise an error for bad responses (4xx or 5xx) + return response.json() + except requests.exceptions.RequestException as e: + print(f"Error fetching contributors: {e}") + return [] + @app.route('/about') def about(): - return render_template('about.html') - + contributors_data = get_contributors() + return render_template('about.html', contributors=contributors_data) # ML processing functions def add_to_db(results, frame, alert_name, user_id=None): diff --git a/error.log b/error.log index a2697f5..9447495 100644 --- a/error.log +++ b/error.log @@ -48212,3 +48212,21 @@ WHERE camera."Cam_id" = ? AND camera.user_id = ? 2025-09-27 15:45:27,947 - INFO - 127.0.0.1 - - [27/Sep/2025 15:45:27] "GET /video_feed/10.225.231.18:8080 HTTP/1.1" 200 - 2025-09-27 15:45:46,803 - WARNING - No frames received from camera ID 10.225.231.18:8080. 2025-09-27 15:54:39,798 - INFO - * Detected change in 'S:\\CODE\\GitHub OpenSource\\IndShield\\app.py', reloading +2025-09-29 14:43:14,689 - DEBUG - matplotlib data path: C:\GSSOC\IndShield\venv\lib\site-packages\matplotlib\mpl-data +2025-09-29 14:43:14,695 - DEBUG - CONFIGDIR=C:\Users\019176\.matplotlib +2025-09-29 14:43:14,697 - DEBUG - interactive is False +2025-09-29 14:43:14,697 - DEBUG - platform is win32 +2025-09-29 14:43:14,764 - DEBUG - CACHEDIR=C:\Users\019176\.matplotlib +2025-09-29 14:43:14,770 - DEBUG - Using fontManager instance from C:\Users\019176\.matplotlib\fontlist-v390.json +2025-09-29 14:43:15,648 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. + * Running on http://127.0.0.1:5000 +2025-09-29 14:43:15,648 - INFO - Press CTRL+C to quit +2025-09-29 14:43:15,652 - INFO - * Restarting with stat +2025-09-29 14:43:18,312 - DEBUG - matplotlib data path: C:\GSSOC\IndShield\venv\lib\site-packages\matplotlib\mpl-data +2025-09-29 14:43:18,317 - DEBUG - CONFIGDIR=C:\Users\019176\.matplotlib +2025-09-29 14:43:18,318 - DEBUG - interactive is False +2025-09-29 14:43:18,319 - DEBUG - platform is win32 +2025-09-29 14:43:18,369 - DEBUG - CACHEDIR=C:\Users\019176\.matplotlib +2025-09-29 14:43:18,373 - DEBUG - Using fontManager instance from C:\Users\019176\.matplotlib\fontlist-v390.json +2025-09-29 14:43:19,005 - WARNING - * Debugger is active! +2025-09-29 14:43:19,010 - INFO - * Debugger PIN: 131-335-467 diff --git a/models/__pycache__/config_loader.cpython-310.pyc b/models/__pycache__/config_loader.cpython-310.pyc new file mode 100644 index 0000000..e3742f5 Binary files /dev/null and b/models/__pycache__/config_loader.cpython-310.pyc differ diff --git a/models/__pycache__/fire_detection.cpython-310.pyc b/models/__pycache__/fire_detection.cpython-310.pyc index 7737c73..6d2d6c1 100644 Binary files a/models/__pycache__/fire_detection.cpython-310.pyc and b/models/__pycache__/fire_detection.cpython-310.pyc differ diff --git a/models/__pycache__/gear_detection.cpython-310.pyc b/models/__pycache__/gear_detection.cpython-310.pyc index 46c5780..8b2158e 100644 Binary files a/models/__pycache__/gear_detection.cpython-310.pyc and b/models/__pycache__/gear_detection.cpython-310.pyc differ diff --git a/models/__pycache__/motion_amp.cpython-310.pyc b/models/__pycache__/motion_amp.cpython-310.pyc index f5ea160..201ef7b 100644 Binary files a/models/__pycache__/motion_amp.cpython-310.pyc and b/models/__pycache__/motion_amp.cpython-310.pyc differ diff --git a/models/__pycache__/pose_detection.cpython-310.pyc b/models/__pycache__/pose_detection.cpython-310.pyc index 918a769..31a7596 100644 Binary files a/models/__pycache__/pose_detection.cpython-310.pyc and b/models/__pycache__/pose_detection.cpython-310.pyc differ diff --git a/models/__pycache__/r_zone.cpython-310.pyc b/models/__pycache__/r_zone.cpython-310.pyc index 37943c7..e5717da 100644 Binary files a/models/__pycache__/r_zone.cpython-310.pyc and b/models/__pycache__/r_zone.cpython-310.pyc differ diff --git a/templates/about.html b/templates/about.html index 60c5f00..3426514 100644 --- a/templates/about.html +++ b/templates/about.html @@ -3,65 +3,63 @@ - About Us - - - - + About IndShield - - - - - + + + + + + - {% include 'sidebar.html' %} -
-

Project Showcase

- -
-
- IndShield Product -

IndShield: Enhancing Industrial Safety

-

IndShield is a web application that integrates cutting-edge technologies to ensure enhanced safety in industrial environments, offering real-time monitoring, emergency alerts, and advanced safety protocols.

- Learn More -
-
+
+ {% include 'sidebar.html' %}
+
+
+

About IndShield

+

An intelligent solution for enhancing industrial safety through real-time monitoring, emergency alerts, and advanced safety protocols.

+
-
-

About Me

-

Hi! I'm Suraj Sanap, a passionate developer with expertise in AI, Machine Learning, and building web applications. I love solving real-world problems using innovative technologies.

-

Connect with me:

- -
+
+
+

Our Mission

+

Our mission is to create a safer industrial future by leveraging cutting-edge technology to prevent accidents before they happen. We aim to provide an accessible and powerful tool that empowers organizations to protect their workforce.

+
+
+

Key Features

+
    +
  • Real-time safety monitoring via video streams.
  • +
  • Automated detection of safety gear violations.
  • +
  • Instantaneous emergency alert system.
  • +
  • Data-driven dashboard for safety analytics.
  • +
+
+
-
-

Contributors

-

A big thank you to all the contributors who made this project possible!

-
- - Contributor 1 -

Contributor 1

-
+
+

🏆 Our Contributors

+

This project is made possible by these amazing people. Thank you!

+ +
+ {% for contributor in contributors %} + + {% else %} +

Could not load contributor information at this time.

+ {% endfor %} +
+
- -
- -
- + + - + \ No newline at end of file