Skip to main content

connected_components

Function connected_components 

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

Labels foreground components and computes bounding boxes and centroids.