Skip to content

livst/MV-release

 
 

Repository files navigation

Dear all,

This is the code we used to extract Motion Vector from Videos. To run the code, you need to install ffmpeg and opencv 2.4.11.

We have attached a modified version of ffmpeg 2.7.2 on the code package.

To install ffmpeg and opencv. We follow the guide on http://www.ozbotz.org/opencv-installation/ . But you need to install ffmpeg of our version and opencv 2.4.11 instead.

Note This is a third-party website. We have no control of the content on this website. Please use the content carefully.

  • For extracting Motion Vector image, you can run the extract_mvs_sample.sh. The code is designed for the videos with resolution of 340 * 256 (width * height). If you need to extract motion vector from different resolution, you can modified line 56-57 of draw_flow.cpp from MV-code-release folder to the desired resolution.

    Note The time reported in the paper is calculated without I/O, which means without the time of writing dump file and images to disk.

  • The MV-code-release folder is created using eclipse. If you find any questions in this motion vector code, please contact me: [email protected]

Best regards,

Bowen

Please cite our paper in your publications if it helps your research:

@inproceedings{ZhangWWQW16,
  author    = {Bowen Zhang and Limin Wang and Zhe Wang and Yu Qiao and Hanli Wang},
  title     = {Real-time Action Recognition with Enhanced Motion Vector CNNs},
  booktitle = {CVPR},
  year      = {2016},
  pages     = {2718-2726}
}

This code is distributed under MIT LICENSE

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 49.8%
  • Makefile 46.3%
  • Shell 3.9%