I'm using OpenCV ORB for checking whether two images are similar or not. ORB is efficient and gives me best results most of the time. But, in some cases, ORB's output is not satisfactory. I'm using distance
parameter, got after KnnMatch
, to identify similar images.
My logic - If the distance value range starts from a smaller value, then the images are similar.
My code is available in this link
After comparison, the result says that Image2 and Image3 are similar to Image1
Should I change this distance depended logic? Will an approach, combined with machine learning and OpenCV ORB, be a solution?