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
Blobinstance holds geometric, moment, and hierarchy data for a single blob region.A set of blobs is represented by a
Blobsinstance which acts like a list ofBlobinstances.Methods
print()Create a detailed string representation of the Blob object
Properties
abbboxchildrencircularitycolorcontourpointidlevelmomentsorientationparentperimeterperimeter_lengthtouchucvc