xiaochus / Vehicle_Tracking

OpenCV 3 & Keras implementation of vehicle tracking with video data.
MIT License
117 stars 41 forks source link
cnn kcf vehicle-tracking

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

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