Code covered by the BSD License  

Highlights from
Virtual Painting

4.7 | 6 ratings Rate this file 36 Downloads (last 30 days) File Size: 3.1 KB File ID: #41014
image thumbnail

Virtual Painting


Arindam Bose


Paint only using your finger tips to the computer screen and do many things with user friendly GUI.

| Watch this File

File Information

This program detects user's finger's position by red color recognition and paint in a white space. The default color is blue. Color can be changed to any color. A basic GUI is made to save the picture in JPG, PNG and BMP format.


41 Complete Gui Examples and Tracking Red Color Objects Using Matlab inspired this file.

Required Products Image Acquisition Toolbox
Computer Vision System Toolbox
MATLAB release MATLAB 7.14 (R2012a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (11)
23 Jun 2014 Suhas Yelluru

Suhas Yelluru

Can someone help me understand how this works? I'm trying to use the intermediate output and map it onto something else, so finding and tracking the finger and the position of the finger is what I'm interested in.
I'm not a veteran in MATLAB, as a result this naive question.

29 Mar 2014 Deepak


08 Jan 2014 jaya


18 Sep 2013 Brenita


Hi, awesome code,
but I'm getting this error..

??? The class "imaq" is undefined.
Perhaps Java is not running.

Error in ==> DrawMe at 49
vidDevice = imaq.VideoDevice('winvideo', 1, 'YUY2_640x480', ...

how do I solve this?
Please help, I'm new to MATLAB

19 May 2013 Ale Marco

Ale Marco

you got idea how to do it?

Comment only
08 May 2013 Ale Marco

Ale Marco

yes, I saw the video, but I want to paint on the video window "Final Video" and then erase it as video:

Comment only
05 May 2013 Arindam Bose

Arindam Bose

@ Ale Marco: watch this video:

Comment only
05 May 2013 Ale Marco

Ale Marco

Hi! How i can create a virtual painting based on your code? Please help me.
Looks like this:


22 Apr 2013 Arindam Bose

Arindam Bose

Guys, who are downloading the submission, if you like it, please comment or star it.

Comment only
30 Mar 2013 Arindam Bose

Arindam Bose

Watch Video Tutorial here:

Comment only
30 Mar 2013 Fiem


Ohhh, Thanks a ton...

Contact us