scivision / Optical-Flow-LucasKanade-HornSchunck

An implementation of optical flow using both the Lucas Kanade method as well as Horn Schunck.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Optical Flow: LucasKanade HornSchunck

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

  • Lucas Kanade method
  • Horn Schunck

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

Also added similar method in Octave and a comparison plot using Matlab Computer Vision toolbox

About

An implementation of optical flow using both the Lucas Kanade method as well as Horn Schunck.


Languages

Language:Python 53.7%Language:MATLAB 46.3%