cv.jit.track: replacing box with image
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
leads to that: http://jonaswolf.com/draw_rect.tiff
but when trying to replace my box by a black rectangle (pict)
leads to that: http://jonaswolf.com/draw_pict.tiff
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:
version pict:
get black.pict here: http://jonaswolf.com/replace.zip
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
oops, didn't pay attention to that one. thanks for the quick response!
all the best
-jonas