← Open Source

Fast, accurate and easy to run dense optical flow with python wrapper.

C++
Momentum
+0stars in 24 hours0.0%
661
Stars
142
Forks
+0
This week
2
Contributors
Created 2016-07-16 · Updated 2026-11-19 · #18091 today
Top developers
pathak22thmoa
README

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 https://github.com/pathak22/pyflow.git
cd pyflow/
python setup.py build_ext -i
python demo.py    # -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.

Nearby in the ranking

AI Rank for iPhone

Follow AI model rankings

Download on the App Store