Hi, with a reference image I just want to draw matches in the image of the video stream without use Features2d.drawMatches () because it not responding in my code
Mat descriptors,descriptors1 = new Mat();
keypoints = new MatOfKeyPoint();
keypoints1 = new MatOfKeyPoint();
detector = FeatureDetector.create(FeatureDetector.ORB);
detector.detect(img1, keypoints);
detector.detect(img2, keypoints1);
descriptor = DescriptorExtractor.create(DescriptorExtractor.ORB);
descriptor.compute(img1, keypoints, descriptors);
descriptor.compute(img2, keypoints1, descriptors1);
DescriptorMatcher matcher = DescriptorMatcher.create(DescriptorMatcher.BRUTEFORCE_HAMMING);
MatOfDMatch matches = new MatOfDMatch();
matcher.match(mIntermediateMat, descriptors, matches);
// draw matches just only in image img2 .......