GitHunt
IN

introverthacker11/CompVision-SafeSightAI-PPE-DetectionSystem___r36

PPE Detection | Computer Vision | Sreamlit | YoloV8 | OpenCV | imageio & imageio-ffmpeg

๐Ÿฆบ PPE Detection & Tracking System (SafeSight AI)

PPE Detection Banner

๐Ÿ”— 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

  1. Upload an image or video
  2. Click Run Detection
  3. AI model detects PPE items
  4. Bounding boxes & labels are drawn
  5. View detected output
  6. 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.