cv.jit.track: replacing box with image

flim's icon

hi!

I've modified a patch posted by nesa 1 year ago for nose tracking. I simply want to replace my cv.jit.track point on the nose with a black rectangle (pict). getting a box out of cv.jit.track is easy, so

but when trying to replace my box by a black rectangle (pict)

bg turns white, the section that should replace my nose on the contrary the only thing visible..

what did I miss on?

cheers!

-jonas

version framerect:

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

version pict:

Max Patch
Copy patch and select New From Clipboard in Max.
Jean-Marc Pelletier's icon

Hi,

As I wrote in a previous thread, the documentation about the drawpict command isn't perfectly clear or accurate, you have to format your message left, top, width, height instead of left, top, right, bottom as I think you're doing.

Jean-Marc

flim's icon

oops, didn't pay attention to that one. thanks for the quick response!

all the best

-jonas