Shortcuts

mmocr.utils.points_center

mmocr.utils.points_center(points)[source]

Calculate the center of a set of points.

Parameters

points (ArrayLike) – A set of points.

Returns

The coordinate of center point.

Return type

np.ndarray