Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

πŸ›‘οΈ Real-Time Safety Monitoring System

Welcome to the Real-Time Safety Monitoring System, a comprehensive web-based application designed to enhance workplace safety through real-time monitoring of PPE (Personal Protective Equipment) compliance using AI-powered computer vision.

This system helps automate and improve safety in high-risk environments such as construction sites, warehouses, and factories, detecting if workers are missing critical safety gear (helmet, vest, glasses) via live camera streams and real-time alerts.


πŸŽ₯ Demo Preview

πŸ“Œ Add your GIFs below by replacing the image paths.

🏁 Welcome Page

Welcome Demo

πŸ“Š Dashboard, Login, Summary

Dashboard Demo

πŸ•’ Timeline, Report Page

Timeline Demo


πŸ‘¨β€πŸ’» Team MEERKAT

Name Role Responsibilities
Aliboev Abbos Team Leader, AI & Frontend Project coordination, frontend logic and Development, YOLO
κΉ€νƒœμ˜ AI & Backend YOLO model training, backend integration
μ „μ„€λ―Ό Backend & DB FastAPI APIs, database design & logic

πŸ’‘ Why This Project?

Safety is a top priority in industrial environments. Manual monitoring of PPE is inefficient and prone to errors. We wanted to build a system that:

  • πŸ“Ή Monitors workers via live camera feeds
  • πŸ€– Uses AI to detect missing PPE instantly
  • πŸ–₯️ Visualizes incidents, trends, and reports in a responsive web dashboard
  • 🌐 Supports multiple languages and is easy to use

🌟 Key Features

  • πŸ” User Login: Secure, role-based login system
  • πŸ“Ί Real-Time Camera Feed: Monitor up to 6 live cameras
  • 🚨 AI-Powered Detection: YOLOv8 detects helmet, vest, and glasses violations
  • πŸ“ˆ Summary Dashboard: Weekly trend charts, safety score, alert heatmaps
  • πŸ“… Timeline View: Camera-wise alert history
  • πŸ“ Report Page: Alert logs, worker data, manual reporting
  • βš™οΈ Settings Page: Theme toggle (Dark/Light), language switch
  • πŸŒ— Dark & Light Modes: User-selectable interface theme
  • 🌍 Multi-Language Support: English πŸ‡ΊπŸ‡Έ and Korean πŸ‡°πŸ‡· with react-i18next
  • πŸ“€ CSV Download: Export alerts for safety audits

🧠 AI Integration

  • πŸ€– Model: YOLOv8n

  • πŸ–ΌοΈ Dataset:

    • Phase 1: 1,176 images
    • Phase 2: 2,551 images (focused on head detection)
  • βš™οΈ Inference Process:

    [Camera Feed] β†’ [YOLO AI (Subprocess)] β†’ [Annotated Frame + Label] β†’ [FastAPI Backend] β†’ [Frontend UI]
    
    

πŸ—οΈ System Architecture

Frontend (React.js) <-> FastAPI Backend <-> YOLOv8 AI Detection | | | React Router SQLAlchemy ORM Camera Stream + Alert Engine | | LocalStorage, Axios MySQL Database

πŸ–₯️ Web Pages Overview

Page Description
Welcome Page Project intro and smooth entry animation
Login Page Secure form-based authentication
Dashboard 6-camera grid view, real-time overlay alerts
Camera Detail Individual camera feed, filterable alerts
Summary Safety scores, trend graphs (Recharts)
Timeline Chronological alerts per camera
Report Searchable worker alert logs and manual report entry
Settings Theme, language, and future preferences
Info System explanation and contact/support section

βš™οΈ Technology Stack

Layer Stack & Tools
🎨 UI/UX Figma, Minimalist Blue-White design
πŸ“± Frontend React.js, SCSS, Bootstrap, Recharts, Axios, i18next
🧠 AI YOLOv8n, Python Multiprocessing
πŸ”§ Backend FastAPI (Python), RESTful API
πŸ—ƒοΈ Database MySQL, SQLAlchemy ORM

🧩 React Features & Hooks

  • useState β€” UI reactivity for alerts and toggles
  • useEffect β€” Poll backend every 10s for new alerts
  • useMemo β€” Sort/aggregate alerts efficiently
  • useParams β€” Route-based camera ID handling
  • useOutletContext β€” Share layout state between nested pages

πŸ› οΈ Future Improvements

  • πŸ” Add fire/fall/smoke detection modules
  • πŸ”” Alert notification via email/SMS
  • ☁️ Cloud deployment (AWS/GCP)
  • πŸ” Advanced admin dashboard
  • πŸ“² Mobile app version

πŸ“ Repository

πŸ”— GitHub: Web_Software_Project

Built with ❀ by Team MEERKAT for Chungbuk National University’s Web Software course.

For feedback or contributions, feel free to fork or reach out!

About

A scalable and real-time computer vision system that performs PPE compliance and fire detection using YOLOv8 models across multiple cameras β€” built with Django REST API, React, and multiprocessing-based YOLO inference.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages