Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Java : How to use Crosscheck ?

Hi !

I've follow the tutorial "object detection in a scene" (http://docs.opencv.org/doc/tutorials/features2d/feature_homography/feature_homography.html#feature-homography) and redo the same thing in java... and that's work pretty well. But I still have a question.

If I want to search an object which is not in the scene, I still have a (false) result. If I've well understand, using the crosscheck option for the brute-forme matcher can help to deal with that. But I can't find how to use crosscheck, I can't find it in the Javadoc...

I've also read than knnmatch() can probably help me but I don't understand how. I already have my four points with "the best distance" when I follow the tutorial.

If I follow my instinct, the false-positive have to be detect after the findHomography() function. Nope ?

Is there somebody who can help me with my outliers ? :)

Java : How to use Crosscheck ?

Hi !

I've follow the tutorial "object detection in a scene" (http://docs.opencv.org/doc/tutorials/features2d/feature_homography/feature_homography.html#feature-homography) and redo the same thing in java... and that's work pretty well. But I still have a question.

If I want to search an object which is not in the scene, I still have a (false) result. If I've well understand, using the crosscheck option for the brute-forme brute-force matcher can help to deal with that. But I can't find how to use crosscheck, I can't find it in the Javadoc...

I've also read than knnmatch() can probably help me but I don't understand how. I already have my four points with "the best distance" when I follow the tutorial.

If I follow my instinct, the false-positive have to be detect after the findHomography() function. Nope ?

Is there somebody who can help me with my outliers ? :)