Using OpenCV to recognize similar shapes/images

364 Views Asked by At

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.

Standardized Image Handdrawn image

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?

0

There are 0 best solutions below