Skip to main content

detect_grid_all

Function detect_grid_all 

Source
pub fn detect_grid_all(
    request: DetectionRequest<'_>,
) -> Result<Vec<GridDetection>, GridError>
Expand description

Multi-component variant of detect_grid.

Returns one GridDetection per qualifying connected component, ordered by labelled-count descending (ties broken by smallest labelled source_index). The topological assembler may return several solutions.

Rejected features and stage-level evidence belong to the opt-in diagnostics feature, not to this mandatory-result contract.

The same UnsupportedCombination matrix applies as for detect_grid.