recognition RGB in live video

Hello all, can someone telling to me, is it possible to detect colour RGB in live video using webcam ?, thank you for attention

Answers (1)

Image Analyst
Image Analyst on 29 Nov 2014
Yes. That is what an image is. Each pixel detected one color.

6 Comments

I want to make the webcam can recognition what colour that i showing on paper..when i direct the webcam to black paper, it showing 'black' in my video..and so on with the other colour paper..How to make it like that ?
See attached demo where I track a green sharpie.
Ok, i'll try sir
See updated zip file where I included the video this time.
i use matlab 2010a, that function video reader can't recognize using this version. so, i use mmreader from http://www.mathworks.com/matlabcentral/answers/25845-videoreader-not-recognized-in-my-matlab-version. when i try to run again, it show 'Unable to determine the number of frames in this file', show in this picture :
What should i do ?
thank you
The number of frames is 67. So use that.

Sign in to comment.

Asked:

on 28 Nov 2014

Commented:

on 29 Nov 2014

Community Treasure Hunt

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

Start Hunting!