Skip to main content

sort_boxes

Function sort_boxes 

Source
pub fn sort_boxes(boxes: &mut [DetBox])
Expand description

TextDetector.sorted_boxes: by top edge, rows joined while consecutive tops are closer than [BOX_SORT_Y_THRESHOLD], then left to right in a row.