Motion Detection Project
The goal is to detect motions in a series of consecutive images. In this project, the pyramidal approach and hierarchical Lucas-Kanade algorithm are implemented. Frame interpolation is also executed with the help of the LK algorithm.
We start with a simple motion towards the right. The “beginning” and “end” figures are the only two frames we have. The central block goes from the middle to the right by a certain range. We are going to extract the motions of pixels from those two figures as the green arrows show below.
From the motions we extracted, we could do frame interpolation based on the arithmetics below, and create the following dynamic gif animation. It interpolates the frames between the “beginning” and “end” figures show a consecutive motion of the central block towards the right.
Then we implement another real world image interpolation. It is not perfect since the source frames (first frame and last frame shown in the gif) are complex and have many details.
Finally, motion detection for a video clip was done. The blue arrows change with time, showing the change in motion of different parts in the window.
Comments
Post a Comment