Forums > Jitter

Dimensions of multiple faces (cv.jit.faces)

June 7, 2012 | 9:05 am

Hi all! I am fairly new to jitter, and I am facing some trouble with cv.jit.faces. Even though I can get the dimensions of one face with jit.iter, when more faces are detected, only the dimensions of the biggest one are displayed. How can I get values from all the faces?

Cheers,
Jim


June 7, 2012 | 6:33 pm

with below patch you will get the coords for 4 diferent faces i guess
cv.jit.faces dont works with faces size..

– Pasted Max Patch, click to expand. –

June 8, 2012 | 9:29 am

Thank you for your patch, it works fine!! Do you know how I could change the color of each of the squares? For example, have one square be green, the other red and the other blue?


June 9, 2012 | 2:52 pm

ouh yeah jimbo! rgb my fav colors! ;)

you can do soemthing like this:

– Pasted Max Patch, click to expand. –

June 10, 2012 | 3:58 pm

Thank you so much for your input, you gave me big help for my project. Cheers!


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