mmocr.utils.boundary_iou¶ mmocr.utils.boundary_iou(src, target, zero_division=0)[source]¶ Calculate the IOU between two boundaries. Parameters src (list) – Source boundary. target (list) – Target boundary. zero_division (int or float) – The return value when invalid boundary exists. Returns The iou between two boundaries. Return type float