Hi Folks,
Has anyone else noticed that when doing color blob tracking, the cx,cy coordinates tend to be rather jumpy even when the rectangle around the blob is very stable?
I am talking about this in the code:
# Draw a rect around the blob.
img.draw_rectangle(b[0:4]) # rect
img.draw_cross(b[5], b[6]) # cx, cy
# Draw the color label. b[8] is the color label.
img.draw_string(b[0]+2, b[1]+2, "%d" % b[8])
the rect from b[0:4] stays very stable but the x,y crosshairs from img.draw_cross jumps around a lot.