几何/形状识别(奇怪形状)
I would like to do some odd geometric/odd shape recognition. But I'm not sure how to do it.
Here's what I have so far:
- Convert RGB image to Monochrome.
- Otsu Threshold
- Hough Transform.
I'm not sure what to do next.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于几何信息,您可以执行光栅到矢量转换,将图像转换为协调向量(线和点)和有限元分析来查找已知形状。这并不容易,但两者都应该可以使用库。
编辑:请注意,有时有更简单的实用解决方案,但它们取决于图像和错误类型。例如,消除透视、从 2D 图像中识别 3D 对象、颜色的重要性等……您经常会看到将配准标记添加到现实世界对象中以克服这些问题
这使得识别更加容易。查找有关特征提取技术的文章可能会有所帮助。
For geometric information, you could do a raster to vector conversion to convert your image into coordinated vectors (lines and points) and finite element analysis to look for known shapes. Not easy but libraries should be available for both.
Edit: Note that there are sometimes easier practical solutions, but they depend on the image and types of errors. For example, removing perspective, identifying a 3d object from a 2d image, significance of colour, etc... You often see registration markers added to the real world object to overcome
this and allow much easier identification. Looking up articles on feature extraction techniques might help.