Skip to content

Real-time traffic monitoring with YOLOv8 and Python. Detects vehicles, computes congestion metrics like count, density and flow, and displays live stats on a responsive PyQt5 dashboard. Ideal for smart city demos, traffic analysis and automation projects.

Notifications You must be signed in to change notification settings

devmdave/PythonTrafficCongestion

Repository files navigation

🚦 Traffic Flow Congestion

Real-time vehicle detection, traffic parameter analysis, and live UI visualization using YOLOv8 and Python.

Welcome to Traffic Flow Congestion—a computer vision-powered system that monitors traffic in real time, counts vehicles, and computes congestion metrics with a sleek, responsive UI. Built for urban insights, automation demos, and smart city prototypes.


📸 Features

  • 🔍 Vehicle Detection: Uses Ultralytics YOLOv8 for high-speed, high-accuracy object detection.
  • 📊 Traffic Metrics: Computes congestion parameters like vehicle count, density, and flow rate.
  • 🖥️ Live Dashboard: Real-time UI built with PyQt5 to visualize traffic stats and detection overlays.
  • ⚙️ Modular Design: Clean architecture with separate modules for detection, data processing, and UI rendering.

🧠 Tech Stack

Component Technology Used
Detection Model YOLOv8 (Ultralytics)
UI Framework PyQt5
Data Handling pandas, JSON
Visualization OpenCV, Matplotlib
Language Python 3.x

🚀 Getting Started

1. Clone the repo

git clone https://github.com/devmdave/PythonTrafficCongestion.git
cd PythonTrafficCongestion

About

Real-time traffic monitoring with YOLOv8 and Python. Detects vehicles, computes congestion metrics like count, density and flow, and displays live stats on a responsive PyQt5 dashboard. Ideal for smart city demos, traffic analysis and automation projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •