Skip to content

Giải pháp tổng thể về detect xe vượt đèn đỏ, nhận dạng biển số và tracking xe. Trong này có món update vị trí phương tiện cần phải nghiên cứu

License

Notifications You must be signed in to change notification settings

nathnim/Traffic-Rule-Violation-Detection-System

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Traffic Rule Violation Detection System

This project tries to detect a car whenever it crosses a Red Light or overspeeds. It uses tensorflow with an ssd object detection model to detect cars and from the detections in each frame each vehicle can be tracked across a video and can be checked if it crossed a redlight and speed of that vehicle can be calculated.

Getting Started

The project is made by using tensorflow so you must be familiar with tensorflow and basic object detection and you must also know basic maths for understanding the tracking algorithm. You must be also familiar with linux OS as I have made this on Ubuntu and didn't test on other platforms.

Prerequisites

Python packages to be installed

* Tensorflow (Tensorflow-gpu if you have Nvidia GPU)
* openCV
* imutils
* Pillow
* numpy
* tkinter
* urllib
* openALPR api

Make account on openalpr and get api secret key from OpenALPR

Installing

Clone the repo and paste your secret key in VehicleMoniter.py file on line 58. run the project by the command python3 VehicleMoniter.py

Working Preview

alt text

alt text

Note

Do not run the file in the object detection folder cloned from tensorflow as I have made some changes to the files.

Issues

If you find any problem you can contact me or raise an issue.

Built With

  • Tensorflow - ML library
  • OpenALPR - For detecting license plate and extracting license plate number

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Contact

I specialize in web development (Full stack - MERN, MEAN, Vue...etc), Websites (Webflow, wordpress), Mobile application (Android/iOS Flutter), Desktop Application(Electron).

If your interested in my services contact me [email protected].

I have a Development firm, check it out here Prowlers.

About

Giải pháp tổng thể về detect xe vượt đèn đỏ, nhận dạng biển số và tracking xe. Trong này có món update vị trí phương tiện cần phải nghiên cứu

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.4%
  • Other 0.6%