mmocr.utils.boundary_iou¶ mmocr.utils.boundary_iou(src, target, zero_division=0)[源代码]¶ Calculate the IOU between two boundaries. 参数 src (list) – Source boundary. target (list) – Target boundary. zero_division (int or float) – The return value when invalid boundary exists. 返回 The iou between two boundaries. 返回类型 float