Virtual Mouse: Mouse Pointer Control using Color Detection

MouseControl controls the functions of mouse pointer without incorporating the Mouse.
4.1K Downloads
Updated 5 Aug 2013

View License

Program Name : Mouse Pointer Control
Author : Arindam Bose
Version : 5.5
Description : This program controls the functions of mouse pointer by detecting red, green and blue colored caps

Inputs:
redThresh = Threshold for red color detection.
greenThresh = Threshold for green color detection.
blueThresh = Threshold for blue color detection
numFrame = Total number of frames duration.

Controls:
Use 1(One) RED, 1(One) GREEN and 3(Three) BLUE Caps for different fingers.
MOVE the RED finger everywhere to control the POINTER POSITION,
Show ONE BLUE finger to LEFT CLICK,
Show TWO BLUE finger to RIGHT CLICK,
Show THREE BLUE finger to DOUBLE CLICK,
MOVE the GREEN finger up and down to control the MOUSE SCROLL.

Cite As

Arindam Bose (2024). Virtual Mouse: Mouse Pointer Control using Color Detection (https://www.mathworks.com/matlabcentral/fileexchange/42943-virtual-mouse-mouse-pointer-control-using-color-detection), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0