Skip to content

sudeepgbits/motion-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Motion Detection

In this project, we try to detect the motion of an object in an image using Lucas Kanade method. We compute dense flow field vector using Hierarchial Luca & Kanade. The first part of this project deals with Optical flow using Lucas Kanade algorithm. We find that for for large shifts, lucas & Kanade fails to record the movement values accurately. In order to ovecome this limitation, we used Hierarchial Lucas-Kanade method. Later, we used this implementation for Frame interpolations as well.

Instructions to run the code:

1) run experiment.py

Outputs

##Small shifts demo:

state1 state2

Motion_vector

Large Shifts Demo:

state1 state2

Motion_vector

Frame Interpolation:

Interpolation of intermediate frames from 3 input frames:

state1 state2 state2

Motion_vector

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages