Skip to main content
Participating Frequently
April 20, 2015
Question

How to track a particular color in AS3

  • April 20, 2015
  • 1 reply
  • 361 views

Dear Friends,

Iam creating a virtual reality project. In that iam loading the video from webcam. I want move an object (instead of mouse cursor) in screen when I move my hand with a colored (red, green, blue) paper. Please help me, how can I track the colors in the screen. I used this link and done :

RGB Wheel Tracker < ByteArray.org

its working fine.! it works only for that wheel shaped paper with those three colors. I want to track only a particular color for example if I move red color object in front of the screen, that object has to move... please help me. Is there any others ways to do virtual reality to projects, please advice me...

Thanks and Advance,

Syed Abdul Rahim

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
April 20, 2015

if you want something that works with that link, you should probably contact the author.

otherwise, use the bitmapdata class to recognize colors.

Participating Frequently
April 21, 2015

Dear Mr.kglad,

Greetings! already I tried.. that blog has that blog is no longer updated....:) so I just wants to track one color and do the same operations...:) possible pls help me..

Thanks and Regards,

Syed Abdul Rahim

kglad
Community Expert
Community Expert
April 21, 2015

i don't use that rgb wheel tracker so i can't help you with it.