I have one source picture and 5 other samples and I want to find the sample that matches the source image best. I concluded that should use template matching since histogram comparison didn't fit the problem well. I use cv::minMaxLoc
to determine min and max values of the result matrix but I misunderstand how to compare this values to properly find the "best-matching" picture.
Thank you!
PS: I have read OpenCV documentation.