We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Customized Color Tracking (Read 784 times)
Customized Color Tracking
Oct 12th, 2005, 6:10am
 
Hello.

I several questions, but the most important one is, will processing be able to handle the following program. I will have access to a pretty powerful machine for demoing the code.

I downloaded and customized the marker tracking demo on the website. This however only tracks a single pixel and draws a circle around it. I want to track a color blob. I was thinking about taking all the pixels that meet the color reqierment and then averaging them to find the center then doing some math with that point to determine the height and width of the "color blob"

Is this the most effecient way to track color? The idea behind the code is to record a sock puppet with two eyes and a tongue of a particular color. The program should then know the X and Y cordinates of the eyes and mouth of the character and we are going to export this to the Unreal Video Game engine and perform a live machinima piece.

I know there are a lot of people that read this that are much more experienced than I, so i would greatly appreciate any help or guidance.

Thank in advance

alex
Page Index Toggle Pages: 1