Skip to main content

Pure Python optical flow: Horn-Schunck, Lucas-Kanade

Project description

https://zenodo.org/badge/DOI/10.5281/zenodo.1043971.svg https://travis-ci.org/scivision/pyoptflow.svg?branch=master https://coveralls.io/repos/github/scivision/pyoptflow/badge.svg?branch=master https://ci.appveyor.com/api/projects/status/9iv32q84vd3gbdde?svg=true Python versions (PyPI) Distribution format (PyPI) Maintainability

Optical Flow: LucasKanade HornSchunck

Python implementation of optical flow estimation using only the Scipy stack for:

  • Lucas Kanade method

  • Horn Schunck

Install

Requires Python >= 3.6:

pip install -e .

optionally, to run self-tests:

pip install -e .[tests]

pytest -v

Examples

Box

python HornSchunck.py data/box/box

Office

python HornSchunck.py data/office/office

Rubic

python HornSchunck.py data/rubic/rubic

Sphere

python HornSchunck.py data/sphere/sphere

Comparision with Matlab Computer Vision toolbox

In Matlab directory, similar method in Octave and a comparison plot using Matlab Computer Vision toolbox.

Reference

Inspiration

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyoptflow-1.2.1.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

pyoptflow-1.2.1-py3-none-any.whl (8.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page