Skip to content

OpenCV 3 & Keras implementation of vehicle tracking with video data.

License

Notifications You must be signed in to change notification settings

xiaochus/Vehicle_Tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vehicle_Tracking

OpenCV 3 & Keras implementation of vehicles tracking with video data.

Algorithm

  1. Object Detection: MOG2
  2. Object Tracking: KCF
  3. Object Classification: CNN

Requirement

  • Python 3.6
  • OpenCV 3.2 + contrib
  • Tensorflow-gpu 1.0
  • Keras 1.2

Data

We train our CNN model with MIT's vehicle and pedestrian data, click here to download the original data and the processed data.

Video data is saved in the video folder.

CNN Model

The CNN model we use is as follows:

CNN

Result

Run the following command to execute the program.

python track.py --file "car.flv"

show

About

OpenCV 3 & Keras implementation of vehicle tracking with video data.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages