Re: [Flashcoders] Webcam color tracking

2006-09-15 Thread Serge Jespers
Hey guyz, Thank you all for the replies. I've sorta hacked it... Before I do the getColorBoundsRect, I now do a threshold on the image to make the colors that are close to what my LED looks like, 100% red. I then do the getColorBoundsRect on the red and that works just fine. Now I'll try

RE: [Flashcoders] Webcam color tracking

2006-09-14 Thread Roy Pardi
At 8:51 AM +0200 9/13/06, dan wrote: Cheak out http://www.tipo.co.il/media/doritos/ I use color + motion traking to find hands and track them Has anyone tried any pattern/face reco routines in AS? I imagine it would be slow but maybe with small bitmaps it wouldn't be too bad (for fun and art,

Re: [Flashcoders] Webcam color tracking

2006-09-14 Thread greg h
Serge, Though I can not provide the source code, I have seen Grant Skinner demo an application that tracks LEDs. You can see it here: http://incomplet.gskinner.com/index2.html#mister In particular, at the link above select MISTER glove video. Grant explained the details. Perhaps others on

Re: [Flashcoders] Webcam color tracking

2006-09-14 Thread Alias™
No, I still used getColourBoundsRect. It works OK until you get more than one object of the same colour - then you end up getting big rectangles which span the distance between the two, which is bad. You could *probably* get around this with some kind of quadtree-type algorithm, it's something

RE: [Flashcoders] Webcam color tracking

2006-09-13 Thread dan
: [Flashcoders] Webcam color tracking Well... I need to be able to track a LED light. I want to be able to track the position of the light to substitute a mouse... Serge depending on what you want to do, I've converted stuff to black and white (thank you keith peters) for easier tacking

Re: [Flashcoders] Webcam color tracking

2006-09-12 Thread Serge Jespers
So... euhm.. no one? Hey guys, I was wondering if anyone has already tried webcam color tracking inside Flash 8 or 9...? So not the difference motion tracking that you see everywhere but tracking one particular color. Or I should say range of colors... I started out with

Re: [Flashcoders] Webcam color tracking

2006-09-12 Thread Mick G
http://www.adobe.com/devnet/flash/articles/webcam_motion.html On 9/12/06, Serge Jespers [EMAIL PROTECTED] wrote: So... euhm.. no one? Hey guys, I was wondering if anyone has already tried webcam color tracking inside Flash 8 or 9...? So not the difference motion tracking that you see

Re: [Flashcoders] Webcam color tracking

2006-09-12 Thread Alias™
Yeah, I've done some work with it. The trick is to apply some contrast filters to reduce the colour depth, and be a bit more picky about getting your source colour. You can do the getColourBoundsRect thing, but it's still pretty inaccurate though. Alias On 12/09/06, Serge Jespers [EMAIL

Re: [Flashcoders] Webcam color tracking

2006-09-12 Thread Serge Jespers
not the difference motion tracking that you see everywhere but tracking one particular color Thanks tho... http://www.adobe.com/devnet/flash/articles/webcam_motion.html ___ Flashcoders@chattyfig.figleaf.com To change your subscription options

Re: [Flashcoders] Webcam color tracking

2006-09-12 Thread Serge Jespers
Interesting... So you didn't use getColorBoundsRect? Did you 'walk through' all pixels then? Or how exactly do you search for the color? Serge Yeah, I've done some work with it. The trick is to apply some contrast filters to reduce the colour depth, and be a bit more picky about

Re: [Flashcoders] Webcam color tracking

2006-09-12 Thread Serge Jespers
Well... I need to be able to track a LED light. I want to be able to track the position of the light to substitute a mouse... Serge depending on what you want to do, I've converted stuff to black and white (thank you keith peters) for easier tacking. Alias' suggestion is in the same