Forums > Jitter

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

Jul 17 2009 | 12:43 am

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?

Nov 19 2009 | 2:34 pm

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.

Feb 19 2010 | 7:44 pm

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.


  1. haar2tuio.png


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

Forums > Jitter