{"id":29550885,"url":"https://github.com/darshan1654/ai-ppe-detection","last_synced_at":"2026-05-08T10:31:43.277Z","repository":{"id":304703661,"uuid":"1019592782","full_name":"darshan1654/AI-PPE-Detection","owner":"darshan1654","description":"An AI-powered CCTV surveillance system for real-time detection of PPE compliance, including helmet and mask violations, using YOLO and computer vision.","archived":false,"fork":false,"pushed_at":"2025-07-14T19:34:01.000Z","size":17783,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-14T22:18:37.965Z","etag":null,"topics":["cctv-surveillance","industrial-safety","opencv","ppe-detection","python","streamlit","yolo"],"latest_commit_sha":null,"homepage":"https://ai-ppe-detection-dp.streamlit.app/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darshan1654.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-14T15:08:17.000Z","updated_at":"2025-07-14T19:34:04.000Z","dependencies_parsed_at":"2025-07-14T22:30:21.336Z","dependency_job_id":null,"html_url":"https://github.com/darshan1654/AI-PPE-Detection","commit_stats":null,"previous_names":["darshan1654/ai-ppe-detection"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/darshan1654/AI-PPE-Detection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darshan1654%2FAI-PPE-Detection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darshan1654%2FAI-PPE-Detection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darshan1654%2FAI-PPE-Detection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darshan1654%2FAI-PPE-Detection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darshan1654","download_url":"https://codeload.github.com/darshan1654/AI-PPE-Detection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darshan1654%2FAI-PPE-Detection/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265697906,"owners_count":23813099,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cctv-surveillance","industrial-safety","opencv","ppe-detection","python","streamlit","yolo"],"created_at":"2025-07-18T04:01:20.327Z","updated_at":"2026-05-08T10:31:43.269Z","avatar_url":"https://github.com/darshan1654.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 🛡️📹 AI-Powered Industrial Safety Surveillance System\n---\n\n**Category:** Industry Defined Problem   |  **Organization:** Jyoti CNC Automation, Rajkot \n\n![AI CCTV Surveillance · Streamlit_page-0001](https://github.com/user-attachments/assets/58a5799f-b7a4-47f7-b165-b4078429a1ea) ![AI CCTV Surveillance · Streamlit2_page-0001](https://github.com/user-attachments/assets/452a0632-cbe2-4a3b-b6ee-3c876327804f)\n\n---\n\n## 📄 Project Overview\n\nThis project integrates **AI-powered Personal Protective Equipment (PPE) detection** and **CCTV-based Anomaly Surveillance** into a single real-time system. It is designed to improve **Workplace Safety**, **Regulatory Compliance**, and **Operational Efficiency** in industrial environments.\n\nUsing advanced **Deep Learning models** and **Computer Vision**, the system ensures that workers adhere to safety protocols and that unusual or unsafe activities are promptly flagged.\n\n---\n\n## ✅ Key Features\n\n### 👷 PPE Detection Module\n- Real-time detection of:\n  - 🪖 Helmets  \n  - 😷 Face Masks  \n  - 👷 Safety Vests  \n  - 🧤 Gloves  \n- Supports live feed from **Webcam/IP Camera**\n- Upload and analyze **Video/Image files**\n- Detection logs with timestamps and confidence scores\n\n### 📹 CCTV Anomaly Detection Module\n- Real-time detection of:\n  - 🚫 Entry into restricted zones  \n  - ⚠️ Safety violations (e.g., no helmet, improper behavior)  \n  - 🚷 Suspicious or unsafe movements  \n- Continuous monitoring via CCTV/IP camera\n- Alert generation on detection\n\n### 📊 Dashboard (Built with Streamlit)\n- Live status feed with detection results\n- Real-time preview of camera feed\n- Violation and compliance logs\n- Summary statistics and compliance reports\n\n---\n\n## 📦 Tech Stack\n\n| Component       | Technology         |\n|----------------|--------------------|\n| 💡 AI Model     | YOLOv8 (Ultralytics) |\n| 🧠 Backend       | Python, OpenCV     |\n| 🌐 Frontend/UI  | Streamlit          |\n| 🎥 Video Input  | Webcam/IP Camera   |\n| 📊 Data Logging | Pandas, CSV Logs   |\n\n---\n\n## 🏭 Industrial Benefits\n\n- ✅ Automated compliance with PPE policies  \n- 🔍 Real-time safety monitoring  \n- 📉 Reduced accident risk and manual supervision  \n- 📊 Actionable insights from safety data  \n\n---\n\n## 📸 Sample Outputs\n\n- 📷 Detected image with PPE boxes  \n- 🧾 Logs with timestamp and violation type  \n- 📈 Streamlit dashboard with real-time updates  \n\n---\n\n## 🔧 Installation \u0026 Setup\n\n```bash\n# 1. Clone the repository\ngit clone https://github.com/darshan1654/AI-PPE-Detection.git\n\n# 2. Create and activate a virtual environment\npython -m venv venv\nsource venv/bin/activate  # or venv\\Scripts\\activate on Windows\n\n# 3. Install required dependencies\npip install -r requirements.txt\n\n# 4. Run the application\nstreamlit run app.py\n```\n\n---\n\n## 📁 Project Structure\n\n```\n├── app.py               # Streamlit app\n├── best.pt              # YOLOv8 model files\n├── yolov8n.pt           # YOLOv8 model files\n├── violation_logs.csv   # Detection logs CSV file\n├── requirements.txt     # Dependencies\n├── packages.txt         # packages\n└── runtime.txt          # For deployment (e.g., Heroku)\n```\n\n---\n\n## 👨‍💻 Team Details\n\n**Group ID:** G00171\n\n| Name             | Email                                                                       |\n| ---------------- | --------------------------------------------------------------------------- |\n| Kushal A. Parekh | [22ce113@svitvasad.ac.in](mailto:22ce113@svitvasad.ac.in)                   |\n| Darshan Pardeshi | [darshanpardeshi1654@gmail.com](mailto:darshanpardeshi1654@gmail.com)       |\n| Param V. Jani    | [janiparam61@gmail.com](mailto:janiparam61@gmail.com)                       |\n| Darshan Panchal  | [mpdarshanpanchal001031@gmail.com](mailto:mpdarshanpanchal001031@gmail.com) |\n| Jaymin Raval     | [ravaljaymin2908@gmail.com](mailto:ravaljaymin2908@gmail.com)               |\n\n---\n\n## 🔮 Future Scope\n\n* 🔔 Voice/Email/SMS alert system\n* 🔗 Integration with ERP systems\n* 📊 Admin dashboard with analytics\n* 📤 Auto-upload violation clips\n* 📡 Multi-location camera support\n\n---\n\n## 🏆 Achievements\n\n* ✅ Used in **Real Industrial setup** at Jyoti CNC\n* 🎓 Presented at **College-level expo**\n* 📡 Successfully tested with **Live Camera feeds**\n\n---\n\n## 📜 License\n\nFor **Academic and Research use** only.\n\n---\n\n## 🙏 Acknowledgements\n\n* [Ultralytics YOLOv8](https://github.com/ultralytics/ultralytics)\n* [OpenCV](https://opencv.org)\n* [Streamlit](https://streamlit.io)\n* Jyoti CNC Automation Pvt. Ltd.\n* SVIT Vasad\n\n---\n\n## 📬 Contact\n\n📧 [janiparam61@gmail.com](mailto:janiparam61@gmail.com)\n📧 [darshanpardeshi1654@gmail.com](mailto:darshanpardeshi1654@gmail.com)\n📧 [22ce113@svitvasad.ac.in](mailto:22ce113@svitvasad.ac.in)\n📧 [mpdarshanpanchal001031@gmail.com](mailto:mpdarshanpanchal001031@gmail.com)\n📧 [ravaljaymin2908@gmail.com](mailto:ravaljaymin2908@gmail.com)\n\n\u003cimg width=\"709\" height=\"186\" alt=\"image\" src=\"https://github.com/user-attachments/assets/9afae834-e0bd-4a0f-9b6a-919b491df72d\" /\u003e\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarshan1654%2Fai-ppe-detection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarshan1654%2Fai-ppe-detection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarshan1654%2Fai-ppe-detection/lists"}