Skip to main content

page_needs_ocr

Function page_needs_ocr 

Source
pub fn page_needs_ocr(doc: &PdfDocument, page: usize) -> OcrNeed
Expand description

How much OCR page page (0-based) of doc needs.

A page index that does not exist, a page with no area, and a page the interpreter cannot walk all report OcrNeed::None: there is nothing here OCR could read, or nothing this survey could see.