Matcher failed in opencv4android (Bug #2609)
Description
Description
I have tried the sample of Features2D + Homography to find a known object in the opencv_tutorial.pdf for android development.
I used FREAK extractor and BFMatcher(NORM_HAMMING), but it fails on this line:
matcher.match(descriptorsA, descriptorsB, matches);
And also I have tried other extractors and other matchers, the situation still not change at all:
OpenCV reports: OpenCV Error: Assertion failed (type src2.type() && src1.cols src2.cols && (type CV_32F || type CV_8U)) in unknown function, file OpenCV\modules\core\src\stat.cpp, line 1803
Associated revisions
Merge pull request #2609 from alalek:tests_fixes
History
Updated by ke feng over 12 years ago
And there seems someone shares the same problem with me but no answers..
http://answers.opencv.org/question/4454/matching-causes-assertion-error-features2d/
Updated by Anna Kogan over 12 years ago
- Description changed from Description I have tried the sample of Features2D + Homography to find a kno... to Description I have tried the sample of Features2D + Homography to find a kno... More
- Priority changed from Blocker to Normal
Updated by Alexander Smorkalov over 12 years ago
Problem reproduced by Java test BruteForceDescriptorMatcherTest.testKnnMatchMatMatListOfListOfDMatchInt.
- Subject changed from Matcher failed in opencv4android? to Matcher failed in opencv4android
Updated by Alexander Smorkalov about 12 years ago
Problem was reproduced on 2.4.3.1.
Current 2.4 branch works ok.
- Status changed from Open to Cancelled
Updated by Andrey Kamaev about 12 years ago
If it is reproducible on 2.4.3.1 then current 2.4 can not be Ok. 2.4.3.1 is only 2 commits past 2.4 right now.