Hi. As the title suggests, I'm confused by cv2's minAreaRect returning invalid angles as theta. As I understand it, the minAreaRect outputs angles in the range of [-90, 0). But I seem to be having issues with this assertion assert -90 <= angle <= 0 because I'm getting positive angles (>0) and sometimes -0.0. Would you happen to have an idea as to why this is the case?
❓ Questions and Help
Hi. As the title suggests, I'm confused by cv2's minAreaRect returning invalid angles as theta. As I understand it, the
minAreaRect
outputs angles in the range of [-90, 0). But I seem to be having issues with this assertionassert -90 <= angle <= 0
because I'm getting positive angles (>0) and sometimes -0.0. Would you happen to have an idea as to why this is the case?