I have to check if two images are similar or not in java using OpenCV, I am using OpenCV for that and using ORB
Here is my main class
System.out.println(
Matcher only search for nearest match of keypoints graph. For measure difference you need use (average) sum (or other metric) of distances.