Fast, accurate and easy to run dense optical flow with python wrapper
C++ Python C
Switch branches/tags
Nothing to show
Clone or download
Failed to load latest commit information.
examples fix color space Jul 19, 2016
src proper extern operator in use Jul 26, 2016
.gitignore add ignore Jul 17, 2016
LICENSE finalize Apr 27, 2017 finalize Apr 27, 2017 bug fix Jul 19, 2016
pyflow.pyx comment Jul 21, 2016 fix numpy includes for custom numpy location e.g. homebrew (#2) Aug 31, 2017

Python Dense Optical Flow

Python wrapper for Ce Liu's C++ implementation of Coarse2Fine Optical Flow. This is super fast and accurate optical flow method based on Coarse2Fine warping method from Thomas Brox. This python wrapper has minimal dependencies, and it also eliminates the need for C++ OpenCV library. For real time performance, one can additionally resize the images to a smaller size.

Run the following steps to download, install and demo the library:

git clone
cd pyflow/
python build_ext -i
python    # -viz option to visualize output

This wrapper code was developed as part of our CVPR 2017 paper on Unsupervised Learning using unlabeled videos. Github repository for our CVPR 17 paper is here.