Object Recognition & Tracking in Videos
This example will show how an object can be detected and tracked in a video. Download the source video from here.
Import frames from the video.
Use ImageContainsQ to find whether a dog is detected in the scene.
This is a plot showing in which frames of the video a dog is detected.
Alternatively, you can assemble a visual representation of the marked frames.
Using ImagePosition, you can track the movement of the dog.
This is the trajectory detected in the video, over time.
Overlay the detected bounding box on the original video frame.