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 di

Re: [Flashcoders] Webcam color tracking

2006-09-14 Thread Alias™
As long as you've only got one light, that approach should work. Alias On 12/09/06, Serge Jespers <[EMAIL PROTECTED]> wrote: 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

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 I'v

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 t

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-12 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

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 ve

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 gettin

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 option

Re: [Flashcoders] Webcam color tracking

2006-09-12 Thread John Grden
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 vein of thought On 9/12/06, Alias™ <[EMAIL PROTECTED]> wrote: Yeah, I've done some work with it. The trick is to apply some contrast filters

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 PROTEC

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

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 getColorBoun

[Flashcoders] Webcam color tracking

2006-09-12 Thread Serge Jespers
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 getColorBoundsRect but that doesn't