OpenCV ||轮廓相似度 [英] OpenCV || contour similarity

查看:572
本文介绍了OpenCV ||轮廓相似度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如您在图像中看到的,我想比较这些轮廓.

As you can see in the image, I would like to compare these contours.

当这些轮廓相互比较时,我需要我的OpenCV程序返回TRUE. 它们看上去都一样,但是正如您所看到的,它们并不完全相同.

I need my OpenCV program to return TRUE when of these contours are compared to each other. They all kind off look the same but as you can see they are not exactly the same.

在这里看到的结果是我从findContours函数返回的结果.

The result you see here is what I have returned from the function findContours.

因此,我正在为这些轮廓的相似性寻找正确的方法.

So I am looking for the right approach for similarity for these contours.

任何帮助都会很棒.

非常感谢您.

推荐答案

看看 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆