Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to track a particular color in AS3

New Here ,
Apr 19, 2015 Apr 19, 2015

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

TOPICS
ActionScript
340
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 20, 2015 Apr 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 20, 2015 Apr 20, 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2015 Apr 21, 2015
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines