Shortcuts

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

Read the Docs v: latest
Versions
latest
stable
0.x
dev-1.x
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.