Use features and descriptors to track the car from the first frame as it moves from frame to frame. Store (ORB) descriptors in a Mat and match the features with those of the reference image as the video plays. Learn to filter out extraneous matches with the RANSAC algorithm. Then multiply points by a homography matrix to create a bounding box around the identified object. The result isn’t perfect, but try different filtering techniques and apply optical flow to improve on the sample implementation. Getting good at computer vision requires both parameter-tweaking and experimentation.
Watch video NVIDIA Jetson OpenCV Tutorials - Episode 5 online without registration, duration hours minute second in high quality. This video was added by user NVIDIA Developer 22 April 2016, don't forget to share it with your friends and acquaintances, it has been viewed on our site 12,538 once and liked it 38 people.