Skip to content

aswinvisva/optical_flow_algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lucas-Kanade Optical Flow

This is a very slow, toy implementation of the Lucas-Kanade Optical Flow algorithm for self-learning purposes. Methods including 2D convolution, taking image gradients and the least squares approximation of flow velocities were done from scratch.

See example output below:

alt-text

Usage

  1. Clone the repository
git clone https://github.com/aswinvisva/optical_flow_algorithms.git
  1. Make a build directory
mkdir build
cd build
  1. Generate the MakeFile using CMake
cmake ../
  1. Build the project
make
  1. Run with a video of your choice
./OpticalFlowAlgorithms --video_dir

About

This is a very slow, toy implementation of the Lucas-Kanade Optical Flow algorithm for self-learning purposes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors