Skip to content

shuangshuangguo/dense_flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is dense_flow(yjxiong) project for opencv-3.1. https://github.com/yjxiong/dense_flow

Extracting dense flow field given a video.

Depencies:

  • LibZip: to install on ubuntu apt-get install libzip-dev on mac brew install libzip

Install

git clone --recursive http://github.com/yjxiong/dense_flow
mkdir build && cd build
cmake .. && make -j

Usage

./extract_gpu -f test.avi -x tmp/flow_x -y tmp/flow_y -i tmp/image -b 20 -t 1 -d 0 -s 1 -o dir
  • test.avi: input video
  • tmp: folder containing RGB images and optical flow images
  • dir: output generated images to folder. if set to zip, will write images to zip files instead.

Warp Flow

The warp optical flow is used in the following paper

@inproceedings{TSN2016ECCV,
  author    = {Limin Wang and
               Yuanjun Xiong and
               Zhe Wang and
               Yu Qiao and
               Dahua Lin and
               Xiaoou Tang and
               Luc {Van Gool}},
  title     = {Temporal Segment Networks: Towards Good Practices for Deep Action Recognition},

About

Compile dense flow(yjxiong) for opencv-3.1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published