Search code examples
pythonopencvimage-processingcomputer-visionpixel

feature tracking in video frames


I am new in Image Processing and Computer Vision. I know little bit of Python and OpenCv (still learning). My issue is: "I have a video clip with 100 frames per second and length of video clip is 4 seconds. The first frame has a square shape (square shape item) with in it. In every subsequent frame the square feature displaces by some pixels." Now i have to calculate the total displacement of the square shape when the video clip reach the last frame. I have no idea from where i need to start. Any suggestion for tutorial or blog or code snippet will be highly appreciated. Thank you in advance.


Solution

  • Try having a look at pyimagesearch website. http://www.pyimagesearch.com/2015/09/14/ball-tracking-with-opencv/