Dimensions of multiple faces (cv.jit.faces)

jimbo's icon

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

carsol's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

jimbo's icon

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?

carsol's icon

ouh yeah jimbo! rgb my fav colors! ;)

Max Patch
Copy patch and select New From Clipboard in Max.

you can do soemthing like this:

jimbo's icon

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