Features2D return TRUE if 2 Mat are matches
Hello, I'm newbie in CV programming. Based on tutorial in Features2D I found that the detection of two images is not difficult. But the results of these tutorials is to show the keypoints of the two images and draw a line. My question is can I just get a boolean if the two images are the same or not. I do not need to display images from two matches Mat, I just need to know that both Mat is the same or not.
Let's say I have a picture of "A", then I insert the picture "A" is to the database. I also have a printed picture "A" on a piece of paper. When I show a printed picture of "A" to the camera, then my program will be able to instantly recognize the picture "A" is.
Thanks in advance for the reply.
"My question is can I just get a boolean if the two images are the same or not"
then NO. it's the wrong tool for the job.
Okay, so OpenCV can compare 2 images, but cannot find if both images is same?
define: "same".
same it means EQUAL
image with red apple, image with green apple. same ?
X Y problem here.
please specify, what you need it for, the context. then we can discuss measures
No is not! May have been a misunderstanding here. Same, I mean are equal. So red apple is EQUAL to red apple, is not same with green apple. I'm sorry for the mistake, my bad.