Skip to main content

page_text

Function page_text 

Source
pub fn page_text(lines: &[LineResult]) -> String
Expand description

Join one page’s line texts the way MonOcr::read_image does.

Distinct lines are separated by a newline. Tiles of the same line are already concatenated inside their LineResult, so no separator appears mid-line.