Smoother triggering of audio with CV.jits.faces

Dec 12, 2012 at 4:52pm

Smoother triggering of audio with CV.jits.faces

Hey Guys,
I have been building this patch for a uni project, i’m quite new to jitter so not the best at understanding it, it’s is doing what I want it to do, apart from when cv.jit.faces recognises more than one face or partly picks up my face, it keeps re triggering the audio sample which I dont want to happen is there anyway I could stop this from happening, any help would be much appreciated. Thanks

O

#65645
Dec 12, 2012 at 6:53pm

Try this. I do not have a camera to test it, but i thing it works the way you want

– Pasted Max Patch, click to expand. –

Nikolas

#236456
Dec 12, 2012 at 6:59pm

also note, that the [toggle] object, passes the integer its fed, to the outlet. if you send it 1 and then 2, then it show its is checked but actually at its output it send 1 and then 2, so the zl changes passes two different numbers each one triggering the [sfplay~]
so, there is your problem!

#236457
Dec 12, 2012 at 9:53pm

why does't track my face?

[attachment=210398,4757]

Attachments:
  1. faceTracking.JPG
#236458
Dec 12, 2012 at 10:16pm

might be the beard…

#236459
Jan 8, 2013 at 9:49pm

sorry for the late reply, thanks very much for your help this has done the trick :)

#236460
Jan 9, 2013 at 12:44am

For info: I’ve mailed Jean-Marc Pelletier and he told me that cv.jit.faces doesn’t works on Windows7 64bit. That’s why it doesn’t track my face.

#236461

You must be logged in to reply to this topic.