image-matcher
image-matcher copied to clipboard
Image recognition implementation in Android, using OpenCV
I am trying to compile this code and getting the following error: C:\Users\filepath\image-matcher-master\res\layout\main_layout.xml Error:(62, -1) android-apt-compiler: [image-matcher-master] C:\Users\filepath\image-matcher-master\res\layout\main_layout.xml:62: error: No resource identifier found for attribute 'camera_id' in package 'in.mustafaak.imagematcher' Error:(62,...
i call the function filterMatchesByDistance get filtered matches and the call the function filterMatchesByHomography, in function filterMatchesByHomography() this line Point kk1 = k1[match.queryIdx].pt; crash java.lang.ArrayIndexOutOfBoundsException: length=68; index=126
it works
i change below // final static DescriptorExtractor extractor = DescriptorExtractor.create(DescriptorExtractor.BRIEF); final static DescriptorExtractor extractor = DescriptorExtractor.create(DescriptorExtractor.BRISK); hahahahaha
Caused by: CvException [org.opencv.core.CvException: cv::Exception: /Volumes/Linux/builds/master_pack-android/opencv/modules/features2d/misc/java/src/cpp/features2d_manual.hpp:374: error: (-5) Specified descriptor extractor type is not supported. in function static cv::javaDescriptorExtractor\* cv::javaDescriptorExtractor::create(int) at org.opencv.features2d.DescriptorExtractor.create_0(Native Method) at org.opencv.features2d.DescriptorExtractor.create(DescriptorExtractor.java:93) at com.example.wang.opencvdemo1.DetectUtility.(DetectUtility.java:26)