Hello... I extracted features from a train image and query image using
FeatureDetector detector = FeatureDetector.create(FeatureDetector.ORB); detector.detect(pic, keypoints1); DescriptorExtractor extractor = DescriptorExtractor.create(DescriptorExtractor.ORB); extractor.compute(pic, keypoints1, featuresofqimg);
i did this for both images...i wanna match these features and i used DescriptorMatcher matches =DescriptorMatcher.create(DescriptorMatcher.FLANNBASED); matches.knnMatch(featuresofqimg, featuresoftrainimg, matc, 2); but the app stops unexpectedly... pls help me over here...
i initialized matc as follows private List<dmatch> matc1;
and i don know how to initialise it..
pls help me over here