File "../libs/box_utils/iou_rotate.py", line 88, in iou_rotate_calculate2
int_pts = cv2.rotatedRectangleIntersection(r1, r2)[1]
cv2.error: /io/opencv/modules/imgproc/src/intersection.cpp:247:
error: (-215) intersection.size() <= 8 in function rotatedRectangleIntersection
should i use try...except mechanism to deal with this assertion?
File "../libs/box_utils/iou_rotate.py", line 88, in iou_rotate_calculate2 int_pts = cv2.rotatedRectangleIntersection(r1, r2)[1] cv2.error: /io/opencv/modules/imgproc/src/intersection.cpp:247: error: (-215) intersection.size() <= 8 in function rotatedRectangleIntersection
should i use try...except mechanism to deal with this assertion?