Skip to content

Vehicle detection using YOLOv3,4,5 ---- Tracking using DeepSORT -----Speed Estimating using personal method

Notifications You must be signed in to change notification settings

thangphung215/Vehicle_detection_tracking_speed_estimation_front_view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vehicle_detection_tracking_speed_estimation_front_view

Vehicle detection using YOLOv3,4,5 ---- Tracking using DeepSORT -----Speed Estimating using personal method

A basic application using 2D image to estimate the speed of other vehicles around, can be developed for autonomous car with 3D detection
result_2

Demo video

Video_40s

Code at the time update

GDrive

Paper

YOLOv3 YOLOv4 DeepSORT

Installation

Use the package manager pip to install the environment with 'requirements.txt'.

pip install -r requirements.txt

Another way is installing the environment of Anaconda with 'environment.yml'

Usage

Dataset includes more than 5k images for training and testing
YOLOv3
YOLOv4
YOLOv5

  1. The given link to the dataset includes train and test, so you need to download and extract it first
  2. Then train the dataset with yolov5
  3. Remember to replace track.py in Yolov5 + Deep Sort with PyTorch with the track_4.py in my repo.
  4. Following the tutorials in Yolov5 + Deep Sort with PyTorch
  5. Finally run:(Remember to get the right movie path responding to kmph, EX:test_day_10_007.MOV and kph_test_day_10_007.MOV
python track_4.py --source PATH_TO_THE_MOVIE --kph PATH_TO_THE_KMPH --save-vid --yolo_model PATH_TO_YOLO_CHECKPOINT --img 1280

Acknowledgements

https://github.com/ultralytics/yolov3
https://github.com/WongKinYiu/PyTorch_YOLOv4
https://github.com/ultralytics/yolov5
https://github.com/mikel-brostrom/Yolov5_DeepSort_Pytorch

About

Vehicle detection using YOLOv3,4,5 ---- Tracking using DeepSORT -----Speed Estimating using personal method

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages