Hi, I picked up PD/Gem again after working with max/msp for two years but i don't seem to be as handy with live video as I expected. Please share your ideas.

I'm behind a windows machine and have a DV camera connected. All i want to do is analyse the incomming video for color values. It should only analyse for two colors, red and green. If there's more red than green in the view the patch should output a 1, if there's more green, it should output a zero. That's all.
I took al look at the Gem examples and helpfiles but they don't seem to be verry extensive on this subject.

Maybe you can point out some helpfull patches, floating around on the internet.

Thanx.