在图像上找到一个点(x,y) [英] find a point (x,y) on an image

查看:74
本文介绍了在图像上找到一个点(x,y)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我正在寻找一种方法来检测图像上的点/像素,根据我从用户那里得到的数据。 />


我希望用户扫描物品条形码,并通过它 - 找到图像中的相关项目并标记它(我可以用红点或其他东西来解决)。 。)



例如,如果我在屏幕上显示带有笔,笔记本和订书机的桌面图像,现在用户扫描条形码(一个真正的笔,它会在图像上标记笔。

我想我需要调整我想找到的图像上任何项目的每个项目的x,y然后我问自己我怎么能相对做(如果用户更改屏幕分辨率,例如)



任何想法我该怎么做?

我认为我宁愿使用winform而不是webform,因为该软件假设在特定的计算机中。



谢谢!

解决方案

我同意ZoltánZörgő的观点。



但是,如果你想深入了解图像识别领域,你需要阅读一些相关主题的文献。我建议你使用计算机视觉和人工智能库AForge.NET:

http:/ /en.wikipedia.org/wiki/AForge.NET [ ^ ],

http://www.aforgenet.com/ [ ^ ]。



我'使用它,它是一个非常强大的东西;它也适用于.NET。



另外,请参阅AForge.NET作者Andrew Kirillov撰写的CodeProject文章(http://www.codeproject.com/Members/Andrew-Kirillov [ ^ ]):

http://www.codeproject.com/Articles/Andrew-Kirillov#articles [ ^ ]。



祝你好运,

-SA

Hi,

I''m looking for a way to detect points/pixels on an image, according to a data I get from the user.

I want the user to scan an item barcode, and by that- to find the relevant item in the image and mark it (I can settle with a red dot or something ..)

for example, if I have on my screen an image of a desk with a pen, a notebook and a stapler and now the user scan the barcode on (a real) pen, it will mark the pen on the image.
I guess I need to adjust the x,y of each item of any item on the image I want to find but then I ask myself how can I do it relatively (if the the user change the screen resolution for example)

Any idea how can I do that?
I think I rather use winform and not webform since the software suppose to be in a specific computers .

thanks!

解决方案

I agree with Zoltán Zörgő.

However, if you want to dig in the field of image recognition, you need to read some literature on related topics. I would recommend you to use the computer vision and artificial intelligence library AForge.NET:
http://en.wikipedia.org/wiki/AForge.NET[^],
http://www.aforgenet.com/[^].

I''m using it, it''s a very robust thing; and it''s for .NET.

Also, see the CodeProject articles by the AForge.NET author, Andrew Kirillov (http://www.codeproject.com/Members/Andrew-Kirillov[^]):
http://www.codeproject.com/Articles/Andrew-Kirillov#articles[^].

Good luck,
—SA


这篇关于在图像上找到一个点(x,y)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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