在白墙图像中找到蓝色激光点的位置 [英] Finding location of a blue laser's dot in a white wall image

查看:82
本文介绍了在白墙图像中找到蓝色激光点的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的电脑位于我的床前,但是当我感到寒冷的时候,我的电脑仍然太远,无法起床和改变音乐。所以我想到一个新项目来满足这个需求。我有一个免费的白墙和一个蓝色激光笔。我的想法是能够实时捕捉墙壁并将激光指向下一个特定的位置或暂停音乐或执行任何其他功能。我唯一的问题是我需要实时处理图像并获得激光点的位置。我要在vb.net上写这个程序。我尝试使用AForge库来识别形状,但我不幸的是将它转换为.NET。因此,如果您对如何完成任务有任何其他想法,请求您的帮助。我首先使用预拍图像在纸上测试它,但我会在之后集成实时捕获。谢谢



示例:

请注意,我将使用该位置的方式是创建一个带正方形的网格



空纸示例:http://i58.tinypic.com/2jb9w5i.jpg

带点的示例纸:http://i59.tinypic.com/n4tbls .jpg

My PC is located in front of my bed but is still too far to get up and change music when i'm chilling. So i was thinking of a new project to cover this need. I have a free white wall and a blue laser pointer. My idea is to be able to capture in real time the wall and point the laser at a specific place to next or pause the music or do any other functions. My only problem is that i need to process the image in real time and get the laser's dot location. im gonna write the program in vb.net. I tried to recognize the shape using AForge libraries but i was unlucky translating it to .NET. So im asking for your help if you have any other idea on how to get it done. Im testing it on a paper first using preshot images but im gonna integrate real time capturing afterwards. Thanks

Examples:
Note that the way im gonna use the location is by creating a grid with squares

Example empty paper: http://i58.tinypic.com/2jb9w5i.jpg
Example paper with dot: http://i59.tinypic.com/n4tbls.jpg

推荐答案

您可能希望研究预期项目的以下可能性。我个人认为你的项目特别适合老年人和残疾人。



OpenCV与VB.net不兼容,但EMGU是一个允许你使用OpenCV的包装器通过VB.Net。



OpenCV

http:// opencv .org / [ ^ ]



EMGU

http://www.emgu.com/wiki /index.php/Emgu_CV [ ^ ]



最后一个Code Project帖子(不幸的是C#但你可以将代码转换成VB)让你去EMGU:

创建您的第一个EMGU图像处理项目 [ ^ ]



祝你好运,这听起来像是一个确实非常有趣的项目。
You may want to look into the following possibilities for your intended project. I personally think your project holds promise especially for the elderly and disabled person.

OpenCV is not compatible with VB.net however EMGU is a wrapper that allows you to use OpenCV through VB.Net.

OpenCV
http://opencv.org/[^]

EMGU
http://www.emgu.com/wiki/index.php/Emgu_CV[^]

And finally a Code Project post (C# unfortunately but you can convert the code to VB) to get you going with EMGU:
Creating Your First EMGU Image Processing Project[^]

Good luck, it sounds like a very interesting project indeed.


这篇关于在白墙图像中找到蓝色激光点的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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