This project is developed for a hackathon and is aimed at improving traffic management and analysis at intersections. Using camera feeds, the system detects various types of vehicles (buses, cars, motorcycles, etc.) and tracks their movements across frames. Key metrics such as average velocity and total count for each vehicle type on every road are computed. The system visualizes this data through detailed maps that show the paths of vehicles, their average speeds, and a bar chart representation of traffic volume by vehicle type for each road.
- Vehicle Detection: Identify different types of vehicles in real-time from traffic camera feeds.
- Vehicle Tracking: Unique tracking of each vehicle across frames to monitor its path and behavior.
- Data Analysis: Calculate average speeds and total counts of each vehicle type per road.
- Visualization: Dynamic visual representation of the traffic, including vehicle paths, speed metrics, and summary bar charts.
This project is containerized using Docker, simplifying the setup and execution process. To install and run the project, you must have Docker and Docker Compose installed on your machine.
- Docker
- Docker Compose
To get the project up and running, follow these steps:
-
Clone the repository:
git clone https://github.com/HvostchedUser/invianhack cd invianhack
-
Build and run the Docker containers:
docker-compose up --build
This command builds the necessary Docker images and starts the containers needed for the application. If the application is set up correctly, it should now be accessible at the designated port and accessible via a web interface or API calls (as implemented).
After deployment, the system will automatically begin processing data from predefined camera sources. You can access the visualizations and data through whatever means your system is set up to provide (e.g., a web dashboard, API endpoints).
- URL:
http://localhost:8501/
For bugs, issues, or feature requests, please file an issue through the GitHub Issues section of this repository.