I've been exercising many tutorials and examples for OpenCV, mainly for feature detection and extraction.
I'm using C++, Visual Studio 2012, and open CV 2.4.11.
My ultimate goal will be to detect, identify, and count boxes of cereal on a shelf. Imagine there are two boxes of Cheerios, one box cornflakes, and three boxes of Froot Loops. I want to identify and count the items.
I found an example and implemented a small test using car logos. My template logo is for the manufacturer Opel. I have a test image which has a half-dozen or so car logos including two instances of the Opel logo resized and rotated. The image below shows the results (I have manually drawn orange circles around the two Opel logos in the test image).
The two test Opel Logos each have more descriptor matches than any of the matches to the other Logos. I'm stuck at how I can group the matches and recognize that the two Opel logos are correct and disregard the others.
There must be a standard method of doing this, but my searches have not found it.
Can someone point me in the right direction – maybe to an example or the OpenCV functions I should be looking at?