I have two images looking alike, that I want to compare with openCV for similarity (percentage or number).
On of them is in a "database" and being compare to a handdrawn version of the shape.
This works well with matchShapes() and findContours if the shapes have a closed area, for example a triangle and a handdrawn triangle. Unfortunately it doesnt work at all with the images on top.
Is there any function that can do this?