Forums > Jitter

cv.jit.track: replacing box with image

July 14, 2010 | 10:23 am


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


leads to that:

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


leads to that:

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

what did I miss on?



version framerect:

– Pasted Max Patch, click to expand. –

version pict:

– Pasted Max Patch, click to expand. –

get black.pict here:

July 14, 2010 | 1:31 pm


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.


July 14, 2010 | 1:39 pm

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

all the best


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