Face Detector to Trigger Audio

OTB's icon

Hey People, was just wondering could someone help me with regards to a prototype I am doing for a uni project, I am trying to get my face to be detected which will then trigger an audio sample, im new to this, so dont be too hard on me if this is a stupid question and if my patch is totally wrong, see image below. thanks

4681.Screenshot20121123at21.49.23.png
png
Eplusmusic's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Seems you have to call the "getnfaces" message into cv.jit.faces every time you want to see how many faces are connected.
Next time be sure to copy compressed instead of print screening, it helps us to know exactly what is going on so we can help.

I hope you're having fun with Max, good luck to you.

Eplus

OTB's icon

Thanks very much Eplus, this is exactly what I needed, sorry about the screengrab as I say im new to this so I will know for future references.

I sure will thanks

OTB

Cody's icon

Not sure if it helps, especially since it's a separate application, but might be worth looking into FaceOSC.

VeraKeisey's icon

Thanks cody, that's a pretty good resource.