Face Detector to Trigger Audio

Nov 23, 2012 at 10:01pm

Face Detector to Trigger Audio

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
#65339
Nov 25, 2012 at 10:08pm
– 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

#235478
Nov 27, 2012 at 11:03am

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

#235479
Nov 29, 2012 at 1:26am

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

#235480
Nov 29, 2012 at 7:46am

Thanks cody, that’s a pretty good resource.

#235481

You must be logged in to reply to this topic.