pub fn detect_cross_cell_ocr_boxes(
text_regions: &[TextRegion],
cells: &[TableCell],
config: &SplitConfig,
) -> Vec<CrossCellDetection>Expand description
Detects OCR boxes that span multiple table cells.
This function analyzes each OCR box to determine if it overlaps with multiple cells based on the IoA (Intersection over Area of OCR box) metric.
§Arguments
text_regions- Slice of text regions from OCR.cells- Slice of table cells.config- Configuration for the detection.
§Returns
Vector of CrossCellDetection results for OCR boxes that span multiple cells.