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, b) # cx, cy # Draw the color label. b is the color label. img.draw_string(b+2, b+2, "%d" % b)
the rect from b[0:4] stays very stable but the x,y crosshairs from img.draw_cross jumps around a lot.