From 957cfaa5efdc893b6dfb513cbda2f8c1ba28ed64 Mon Sep 17 00:00:00 2001 From: Tejasri Date: Mon, 29 Sep 2025 15:02:22 +0530 Subject: [PATCH] Modified About_page --- app.log | 18 ++++ app.py | 19 +++- error.log | 18 ++++ .../__pycache__/config_loader.cpython-310.pyc | Bin 0 -> 456 bytes .../fire_detection.cpython-310.pyc | Bin 1233 -> 1327 bytes .../gear_detection.cpython-310.pyc | Bin 1290 -> 1436 bytes models/__pycache__/motion_amp.cpython-310.pyc | Bin 1216 -> 1199 bytes .../pose_detection.cpython-310.pyc | Bin 1808 -> 1791 bytes models/__pycache__/r_zone.cpython-310.pyc | Bin 2280 -> 2376 bytes templates/about.html | 100 +++++++++--------- 10 files changed, 102 insertions(+), 53 deletions(-) create mode 100644 models/__pycache__/config_loader.cpython-310.pyc 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 0000000000000000000000000000000000000000..e3742f5b43d7a3fa65783501055207a9b675982f GIT binary patch literal 456 zcmYjNu};G<5cSz^o6-g`GBLprhDa<72qB~nh@~K90HR1yR68_P8dpv#)T*7z&M&kh zzvPvPA7EgCbK0SIdhdK^zdQMq>mCra$4fK(!T4p9ePfv1BFYmaK?LL^+(rmNa6tuo zhmZ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detection.cpython-310.pyc b/models/__pycache__/pose_detection.cpython-310.pyc index 918a7697d4f21035847e5a95e537ed3052872fca..31a7596bed9f287948f2ef6c6ef7bdb336483e72 100644 GIT binary patch delta 129 zcmbQh_n((HpO=@50SE%jZe=)b})%``DTQ0qiGD delta 146 zcmey*JAsckpO=@50SJ=x_oWMO1I} z%Bam`a*H!3F)t-Iu_(Lv7FSMcT1k9)QD$+;E$*Vs^b8n>7c5bnkzbmVl3H|Y^Al!o lMn?I`2CQmq%0SzSlqbiq$}-ALu44VmCI=GGo?Oe;1OUIsFVz45 diff --git a/models/__pycache__/r_zone.cpython-310.pyc b/models/__pycache__/r_zone.cpython-310.pyc index 37943c7219266bdb72aeebf11f481927b88c3199..e5717da9089a464fd682b3c9b01df46ef045dc1f 100644 GIT binary patch delta 821 zcmZuvJ8u&~5Z>9_d&G~6Y>1LTn&9eCDqcbn;vq`}0y-m^hQpE-dpC}y^WACBK?w?^ zNT?8nbsY^*rUI0bmVyF$wBiTgA3#IJ&RqlzEA8BTvpe5>J99s4U+QjLt(J&h53Z;! zyF7819$(Oi6AmF6K>&b04QW8R!C7dGSipd+5pHtpkZ|jO1}3L%;@MNA@j$Uht@|y1 z3I!^M@doeq<7jg@=uc{kljpVNGEyBvzzPygP~kJYq$5^NRh@kJweR;S5}qvdnchvk z)0^7t0Vmr;+GBD+p1~M2hDEKE8?Wdd>C!!TtBY{+9U_(^i<2CgoS=q3Dic zF2dVKpzJ3?_Tp5iTC!gp<-)m$`eN|yE3O|mRP`iHior0BJWHZ5i3*jOQz>I0#)@IC zvQBPM#ZnP!T(shd$eK?0-Ds|M*4ph>vvW7%?X95*c_-({cIjLlucSC02P~+A3-#mI z^b;7?)Aj75HJ`=o>RD;%^C?!JqUU=cUH$bIZS z#FY_>$ScWNj2XkxK)TsWdwE6CUQfSXL}MY9xfyRqypWX(%(dBxjQb)@SF`W-y5WJJ zop&zXI;Dy73UUR#fA9I5C{2BUyXX~RP%1mNdoGWAR`$l3zY|o8#&_|56tb8Z=KPOP XIoI?MwnK3pTar53RP+ogP^W(Yk>JF8 delta 728 zcmZuvJ#5oJ6uvv3f8r#j$&!LVq(uc;VnPM+Cm2d8DkvGkf>kMseNM3C*wNXpnkrHy z2oqw6yt8*i9T{L`0Ezj;4q<0OLU7M16$4MYPw(FEckkVY`nQ@DSF0wHa_#-g!Fh9L zoxOEY-WXyyL__Rg3_1ykL$(l87@Z}Qde261%ayMKsoWN0t*QeIbIoPi!iBVLx8 zC5z#n$qdvsg$bV_>stQq1i(3FyfKw74+ZG1~T+g5B7p?+tLBk+Pg);1o9J)8& z8}kNOwcbb)XF>`6$ToQiY)UX3@TFYnE0-POxBSR*Oi6-9T-YE(Ii%of$QWCWuT|~ 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