Shortcuts

mmocr.utils.poly2shapely

mmocr.utils.poly2shapely(polygon)[源代码]

Convert a polygon to shapely.geometry.Polygon.

参数

polygon (ArrayLike) – A set of points of 2k shape.

返回

A polygon object.

返回类型

polygon (Polygon)

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.