Extracting dense flow field given a video.
- support multiple optical flow algorithms
- support single video (or a frame folder) / a list of videos (or a list of frame folders) as input
- support multiple output types (image, hdf5)
- faster, 40% faster (by parallelize IO & computation)
- record the progress when extract a list of videos (Note: restart from the recent "done video", that is, the recent "approximately done video" may not actually done)
git clone https://github.com/innerlee/denseflow
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=$HOME/app ..
make -j
make install
denseflow test.avi -b=20 -a=tvl1 -s=1 -v
test.avi
: input video / videolist.txttmp
: folder containing RGB images and optical flow imagesdir
: output generated images to folder.tvl1
: optical flow algorithmv
: verboses
: step, extract frames only when step=0
- resize
- class folder
- input image
denseflow videolist.txt -b=20 -a=tvl1 -s=1 -v
videolist.txt
: input video / videolist.txttmp
: folder containing RGB images and optical flow imagesdir
: output generated images to folder.tvl1
: optical flow algorithmv
: verboses
: step, extract frames only when step=0
Modified based on yuanjun's fork of dense_flow.
Shiguang Wang, Zhizhong Li