VB.Net图像识别
基本上,我想要一个“如果 image.contains(image2)...”之类的东西。例如,如果图像 1:
被发现包含在图像 2 中:
然后它将返回它的 x/y 坐标,这在 VB.Net 中可能吗?
Basically, I want a 'If image.contains(image2)...' sort of thing. For example if image 1:
is found to contain in image 2:
Then it will return it's x/y co-ordinate, is this possible in VB.Net?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您正在寻找精确匹配,那么您只需循环像素并寻找匹配即可。该方法就像字符串匹配一样简单,只是它是二维的。
当然还有一些优化的空间,但基本上:
If you are looking for an exact match, then you just loop through the pixels and look for a match. The method is as simple as a string match, only it's two dimensional.
There is of course room for some optimisations, but basically: