Shortcuts

mmocr.utils.point_distance

mmocr.utils.point_distance(pt1, pt2)[源代码]

Calculate the distance between two points.

参数
  • pt1 (ArrayLike) – The first point.

  • pt2 (ArrayLike) – The second point.

返回

The distance between two points.

返回类型

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.