如何识别图像中的不同对象? [英] How to identify different objects in an image?

查看:232
本文介绍了如何识别图像中的不同对象?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打算写一个程序来检测和区分某些对象从几乎坚实的背景。前景和背景具有高对比度差异,我将进一步增加以帮助对象识别过程。我计划使用Hough变换技术和OpenCV。

I'm intending to write a program to detect and differentiate certain objects from a nearly solid background. The foreground and the background have a high contrast difference which I would further increase to aid in the object identification process. I'm planning to use Hough transform technique and OpenCV.

示例图片

如上图所示,我想分别识别圆形对象和方形对象(或任何其他形状有限集合的形状)。由于我是一个新的图像处理我不知道这种情况是否需要一个神经网络实现和每个形状要事先学习。

As seen in the above image, I would want to separately identify the circular objects and the square objects (or any other shape out of a finite set of shapes). Since I'm quite new to image processing I do not have an idea whether such a situation needs a neural network to be implemented and each shape to be learned beforehand. Would a technique such as template matching let me do this without a neural network?

推荐答案

这些帖子会让你开始:

如何检测方块

如何检测一张纸高级方形检测)

您可能需要调整这些代码中的某些参数才能与您的圈子/ Square匹配,技术在这些示例上显示。

You will probably have to adjust some parameters in these codes to match your circles/squares, but the core of the technique is shown on these examples.

这篇关于如何识别图像中的不同对象?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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