Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Multiple Objects Features2D

Hello,

I am doing the basic object detection using features2d as outlined in the tutorial.

How can this be extended to multiple objects? Since the detection of features will occur in the input image that may have duplicate features, then how do we find two distinct objects? The problem is that with a BruteForce matcher, there is no guarantee that the features will align correctly.

Scenario.

Image contains two objects. Feature detector finds keypoints Descriptors are extracted.

We now want to match the descriptors to the template image. The descriptors contain two sets of object features.

I feel like the centroid of the object is important here, and that something like the CMT tracker would be a good way to go.

Any tips?