introverthacker11/CompVision-SafeSightAI-PPE-DetectionSystem___r36
PPE Detection | Computer Vision | Sreamlit | YoloV8 | OpenCV | imageio & imageio-ffmpeg
๐ฆบ PPE Detection & Tracking System (SafeSight AI)
๐ Live App:
Visit Live App
๐ Overview
The PPE Detection & Tracking System is an AI-powered computer vision application designed to automatically detect Personal Protective Equipment (PPE) such as:
- ๐ช Safety Helmets
- ๐ฆบ Reflective Safety Vests
The system works on images and videos, drawing bounding boxes and labels in real time to help improve workplace safety compliance at construction sites, factories, and industrial zones.
This project is built using YOLOv8 and deployed as an interactive Streamlit web application.
๐ Key Features
- ๐ธ Image-based PPE Detection
- ๐ฅ Video-based PPE Detection
- ๐ง Powered by YOLOv8 (Ultralytics)
- ๐ Real-time progress bar for video processing
- ๐ฅ Download detected video output
- ๐ฅ๏ธ Clean & professional UI for portfolio/demo
- โก Fast inference with optimized frame processing
๐ ๏ธ Tech Stack
| Technology | Usage |
|---|---|
| YOLOv8 (Ultralytics) | Object detection model |
| OpenCV | Video & image processing |
| NumPy | Numerical operations |
| Streamlit | Web application framework |
| ImageIO / FFmpeg | Video writing & encoding |
| PIL (Pillow) | Image handling |
๐ง Model Details
- Model: YOLOv8s (Custom trained)
- Classes:
- Helmet
- Reflective Vest
- Framework: PyTorch (Ultralytics)
- Inference Type:
- Single image prediction
- Frame-by-frame video prediction
๐ Input Types Supported
โ Images
- JPG
- JPEG
- PNG
โ Videos
- MP4
๐ผ๏ธ Application Workflow
- Upload an image or video
- Click Run Detection
- AI model detects PPE items
- Bounding boxes & labels are drawn
- View detected output
- Download processed video (for videos)
๐ฆ Installation (Local Setup)
git clone https://github.com/your-username/ppe-detection-system.git
cd ppe-detection-system
pip install -r requirements.txt
streamlit run app.py๐ Project Structure
โโโ app.py
โโโ saved_trained_model.pt
โโโ requirements.txt
โโโ README.md
๐จโ๐ป Developer
- Rayyan Ahmed
- Google Certified AI Prompt Specialist
- IBM Certified Advanced LLM FineTuner
- Hugging Face Certified LLM Fundamentals
- Expertise: CV, ML, DL, YOLO, NLP, LLMs
๐ฏ Use Cases
- ๐๏ธ Construction site safety monitoring
- ๐ญ Industrial worker compliance
- ๐น CCTV safety automation
- ๐ Safety audits & reporting
- ๐ Academic & portfolio demonstration
๐ License
This project is for educational and portfolio purposes.
For commercial use, please contact the developer.
