mouse pointer control by light source

版本 1.0.0.0 (1.3 KB) 作者: Utsav Barman
using color sgregation, mouse pointer is controlled by tracking a red led... Tuning is required
1.5K 次下载
更新时间 2010/12/19

查看许可证

using color sgregation, mouse pointer is controlled by tracking a red led...
It tracks the red led of my optical mouse. A webcam is used to take the video.
This is a simple application.
i have used color segregation technique on grayscale format. Other color formats can also be tried.
I determined the co-ordinates of the centroid of the region of the led. Then using the Java Robot class, the mouse pointer is sent to that co-ordinates. My webcam had max resolution of 640x480. I also used cyberlink webcam filter. Windows Vista operating system.

引用格式

Utsav Barman (2024). mouse pointer control by light source (https://www.mathworks.com/matlabcentral/fileexchange/29777-mouse-pointer-control-by-light-source), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0