January 2018
Intermediate to advanced
268 pages
6h 20m
English
To start with, we have a PoseEstimator class that does all the heavy lifting here. We need something to detect the features in the image and something to match the features between successive images. So we use the ORB feature detector and the Flann feature matcher for fast nearest neighbor searches within the extracted features. As you can see, we initialize the class with these parameters in the constructor.
Whenever we select a region of interest, we call the add_target method to add that to our list of tracking targets. This method just extracts the features from that region of interest and stores them in one of the class variables. Now that we have a target, we are ready to track it!
The track_target method ...
Read now
Unlock full access