It is a vehicle detection application which is made using PyQt5(GUI toolkit for python). It can detect 4 types of vehicles (Car, Bus, Truck, Motorclycle). In this project, I have also add a feature that is if two vehicles come close and cross a safety distance, those vehicles would be located in a frame( I locate such vehicles with bounding box of red color and a line b/w them) which work on approximation not precisely because this feature requires exact information of what focal length or FOV(Field of view), height and angle of installed camera are, to work well. Unfortunately, I don't get that information, so, I have developed different method to find approximate distance b/w cars to just demonstrate my feature.
Command to install all the libraries used in the project.
python install -r requirements.txt
To run the app, just run this command after cloning the repository, installing the necessary libraries.
python vehicle_detection.py --vid_path <place video path>
Licensed under MIT Licencse