| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repository contains our solution for the Karnataka State Police Hackathon: "Datathon"

Urban traffic congestion leads to economic losses, environmental impact, and decreased quality of life. Traditional traffic management methods are often limited in effectiveness.
The proposed solution is an object detection-based system using computer vision components.We leverage pre-trained models like YOLOv8 and supervision.These models can automatically detect and geo-reference bottlenecks and road congestions from images captured by the onboard cameras in real time, providing actionable insights for smooth and optimized traffic flow.
*Several Modules in this proposed solution still need to be worked upon
Local Machine : Clone the repository on to you local machine. Run the command in cmd -
pip install -r requirements.txt
The above ensure all the required dependecies are installed.
Followed by -
streamlit run app.py
In helper.py there's a function known as drawzones, having the repository cloned on local machine allows you to access it, just open helper.py and search for enchroachment function and uncomment the drawzones function.
Web : Just vist the product link mentioned at the start of the repository.
Images can have various objects detected within themselves with varying level of confidence, we can set the confidence level and look at the detection results.
Videos can have various objects detected within themselves with varying level of confidence, we can set the confidence level and look at the detection results.
vid_result.mp4This is a test feature to demonstrate the real time object detection capibilities of the project.
web_result.mp4This takes in input as rtsp url of the source camera provided and provide detection analysis in real time.
rtsp_vid.mp4We have created a feature to demonstrate the approach, just type in the source url of the youtube video you wish to see and it'll provide a detection analysis for the same in real time. This works similar to rtsp feature.
Only the vehicles and other bottlenecks inside the marked areas are tracked, and a wait-time period is generated for them. If a vehicles stays within the marked area for longer than the permissible duration an alert is genrated for communicationg the control room.
vid_enchroachment.mp4Videos are divided into further subclips which are used for dataset creation.
We have limited the annotations to vehicles to limit the chances of False positives, this can be improved when scaled further.
| Back | FazBrowse Home | New Git URL |