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 🚗
- 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.
- YOLOv8 for object detection and tracking
- Flask for the web interface
- SQLite3 for local database management
- OpenCV for image processing
- Python for backend development
-
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.
- Download the full directory containing the built
-
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.
- Main Code: Run
-
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.
- This GitHub repository only contains the source code and does not include the built
-
System Requirements:
- VGA: A graphics card with 8GB or more VRAM is recommended.
- RAM: A minimum of 16GB RAM is suggested for optimal performance.
-
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.