Skip to main content

Python bindings to the optical flow framework of Horn & Schunck

Project description

Python Bindings to Horn & Schunck’s Optical Flow Framework

This package is a simple Python wrapper to an open-source Optical Flow estimator based on the works by Horn & Schunck:

  author = {Horn, B. K. P. and Schunck, B. G.},
  title = {Determining optical flow},
  year = {1981},
  booktitle = {Artificial Intelligence},
  volume = {17},
  pages = {185--203},

The implementation is purely based on Bob:

  author = {Anjos, Andr\'e AND El Shafey, Laurent AND Wallace, Roy AND G\"unther, Manuel AND McCool, Christopher AND Marcel, S\'ebastien},
  title = {Bob: a free signal processing and machine learning toolbox for researchers},
  year = {2012},
  month = oct,
  booktitle = {20th ACM Conference on Multimedia Systems (ACMMM), Nara, Japan},
  publisher = {ACM Press},
  url = {},

This package also provides a unit testing framework, to check on the accuracy of results produced in different platforms. The testing framework also requires OpenCV for comparison purposes.


To install this package – alone or together with other Packages of Bob – please read the Installation Instructions. For Bob to be able to work properly, some dependent packages are required to be installed. Please make sure that you have read the Dependencies for your operating system.


For further documentation on this package, please read the Stable Version or the Latest Version of the documentation. For a list of tutorials on this or the other packages ob Bob, or information on submitting issues, asking questions and starting discussions, please visit its website.

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page