Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: dariusp on July 22, 2019, 02:49:00 PM

Title: Get Pixel Color from webcam [SOLVED]
Post by: dariusp on July 22, 2019, 02:49:00 PM
Hello.
I'm developing a colour recognition piece using the GetPixelColor action to recognise blocks of colour and play sounds.

I can get it working with a texture set to readable but trying to see how to work with a camera feed. I can feed the webcam image in but no colour detected. I am guessing webcam image need to be saved as an image and set to readable?

Any advice would be appreciated.

Darius
Title: Re: Get Pixel Color from webcam
Post by: dariusp on July 23, 2019, 08:17:55 AM
Update. I was able to solve this by using the Take Snapshot action to creature new texture and feed it into Get Pixel.
Title: Re: Get Pixel Color from webcam [SOLVED]
Post by: jeanfabre on July 31, 2019, 04:41:17 AM
Hi,

 thanks for letting us know!

Bye,

 Jean