Build an Object Tracker
Explore how to build an object tracker using OpenCV in C++. Learn to select an object in the first video frame and track it continuously using the MOSSE tracker. Understand how to implement functions for reading video frames, drawing tracking boxes, and updating the tracker to keep the object tracked throughout the video. This lesson prepares you to apply object tracking for surveillance, sports analysis, and more.
We'll cover the following...
In this lesson, we’ll use some OpenCV functions to create an object tracker that will track an object from a video. In the first frame, we’ll be able to select the object we want to track. Then the object should be tracked throughout the video. Object trackers can be used for surveillance, traffic monitoring, sports analysis, augmented reality, and many other things.
With this object tracker, we’ll be able to draw a tracking box in the first frame of the video, and then that box will track the object. Follow the guidelines to complete the partial code given in the ...