retrieving the dims of a second face with cv.jit.faces

Jul 17, 2009 at 12:43am

retrieving the dims of a second face with cv.jit.faces

Hi. I’m working with cv.jit.faces, and I’m easily able to retrieve the dims of one face using [jit.iter], but I cannot seem to figure out how to retrieve the dims of a second even though a second face is reported by route nfaces. Can anyone help with this?

#44759
Nov 19, 2009 at 2:34pm

sorry i answer lately

i was wondering the same

i’ve just done it with [jit.iter] to get a max list from [cv.jit.faces] matrix.
then i use [next] to bang between each list (for each face) : the problem is jit.faces send it all at the same time

then [counter] and a [gate] to split outputs

not sure this is the best way but it works :

– Pasted Max Patch, click to expand. –

i found absolutely no logic in faces order. tell me if you find.

#161053
Feb 19, 2010 at 7:44pm

Unfortunately, I seem to have lost this patch, but I had one where you could track multiple faces and dispatch the results as TUIO (multitouch) data. Here's a picture of the patch so you can try to recreate it.

[attachment=125034,86]

Attachments:
  1. haar2tuio.png
#161054

You must be logged in to reply to this topic.