Blob#

class Blob(id: int, bbox: ndarray, moments: Any, touch: bool, perimeter: ndarray, a: float, b: float, orientation: float, children: list[Any], parent: Any, uc: float, vc: float, level: int, color: Any, perimeter_length: float, contourpoint: ndarray, circularity: float | None = None)[source]#

Container for the parameters of a single blob.

A Blob instance holds geometric, moment, and hierarchy data for a single blob region.

A set of blobs is represented by a Blobs instance which acts like a list of Blob instances.

Methods

print()

Create a detailed string representation of the Blob object

Properties

a

b

bbox

children

circularity

color

contourpoint

id

level

moments

orientation

parent

perimeter

perimeter_length

touch

uc

vc