Shortcuts

mmocr.utils.shapely2poly

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

Convert a nested list of boundaries to a list of Polygons.

参数

polygon (Polygon) – A polygon represented by shapely.Polygon.

返回

Converted numpy array

返回类型

np.array

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.