mouse pointer control by light source
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.
Zitieren als
Utsav Barman (2026). mouse pointer control by light source (https://de.mathworks.com/matlabcentral/fileexchange/29777-mouse-pointer-control-by-light-source), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Test and Measurement > Image Acquisition Toolbox > Image Data Acquisition >
- Image Processing and Computer Vision > Image Acquisition Toolbox > Image Data Acquisition >
Tags
Quellenangaben
Inspiriert: Virtual Mouse: Mouse Pointer Control using Color Detection
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.0 |
