Skip to content

This project leverages YOLO (You Only Look Once) to detect various traffic violations in real-time, aimed at improving road safety and compliance.

Notifications You must be signed in to change notification settings

abdurrahmannurhakim/AI-Trafic-Violence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YOLO for Traffic Violence Detection 🚦

This project leverages YOLO (You Only Look Once) to detect various traffic violations in real-time, aimed at improving road safety and compliance. The software identifies and tracks:

  • Overtaking 🚗
  • Overspeeding 🚨
  • Wrong Direction 🚧
  • No Helmet Use 🏍️
  • No Seatbelt Use 🚗

Features

  • Real-time Detection: Instant identification of traffic violations using YOLOv8 models.
  • Safety Distance Calculation: The system calculates the safety distance between vehicles to prevent accidents.
  • Web-Based Monitoring: A secure, user-friendly local web interface to view and monitor the results.
  • Security System: Integrated with security protocols to ensure data protection and reliable monitoring.

Technologies Used

  • YOLOv8 for object detection and tracking
  • Flask for the web interface
  • SQLite3 for local database management
  • OpenCV for image processing
  • Python for backend development

Installation & Setup Instructions

  1. Download Full Directory:

    • Download the full directory containing the built .exe files and all dependencies from Google Drive: Download Directory
    • This directory includes all necessary files and is ready to run directly.
  2. Running the Application:

    • Main Code: Run main.exe to execute the primary traffic violation detection system.
    • Web Server Monitoring: Run server.exe to initiate the local web interface for real-time monitoring of traffic violations.
  3. Important Note:

    • This GitHub repository only contains the source code and does not include the built .exe files. To run the application directly, please download the full directory from Google Drive, as mentioned above.
  4. System Requirements:

    • VGA: A graphics card with 8GB or more VRAM is recommended.
    • RAM: A minimum of 16GB RAM is suggested for optimal performance.
  5. Troubleshooting:

    • File Size Limitations: Certain files are too large to host on GitHub; hence, the complete package is available only through the Google Drive link above.

Releases

No releases published

Packages

No packages published

Languages