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
Colored card detection (Read 384 times)
Colored card detection
Jul 21st, 2008, 8:45am
 
Hi all, did quite a bit of searching along with trial-and-error (mostly error) with p5 so seeing if anyone can help out.

I'm currently trying to write a program in p5 that sends a telnet command based off color input from the camera at a given refresh interval.

For example, lets say the refresh interval is set at 10 seconds. I "show" the camera a red card. It detects the red card and sends out the appropriate telnet command. Next, I show it a green card. It detects green and sends out the appropriate telnet command.

I'm assuming that the color correction on the camera is turned off and that the room is lit brightly. The only thing I have working is the camera and that's about it.

Here are some topics I've looked at that seemed pertinent/related to my problem:

"Color tracking video"
http://processing.org/discourse/yabb/YaBB.cgi?board=Contribution_Responsive;action=display;num=1057387719


"Color Sorting"
http://processing.org/learning/libraries/colorsorting.html

Any help would be greatly appreciated!
Page Index Toggle Pages: 1