Forums > MaxMSP

Face Detector to Trigger Audio


OTB
November 23, 2012 | 10:01 pm

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

[attachment=208960,4681]

Attachments:
  1. Screenshot20121123at21.49.23.png

November 25, 2012 | 10:08 pm
– Pasted Max Patch, click to expand. –

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
November 27, 2012 | 11:03 am

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


November 29, 2012 | 1:26 am

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

https://github.com/kylemcdonald/ofxFaceTracker/downloads


November 29, 2012 | 7:46 am

Thanks cody, that’s a pretty good resource.


Viewing 5 posts - 1 through 5 (of 5 total)