Skip to main content

connected_components

Function connected_components 

Source
pub fn connected_components(
    mask: &BinaryMask,
    connectivity: Connectivity,
) -> VisionResult<ConnectedComponents>
Expand description

Labels foreground components and computes bounding boxes and centroids.