Skip to main content

Crate ocrgrab

Crate ocrgrab 

Source

Modules§

cache
config
document_layout
Parses a Google Document AI response into laid-out TextData.
ocr
OCR engines and the one place that runs them.
patterns
selection
text_selection
Laid-out OCR text types: the character/word/line/block geometry that the selection layer hit-tests against. These are produced by crate::document_layout::DocumentLayout::parse and consumed by crate::selection and the viewer’s draw path. All coordinates are in image space.
ui
viewport
The screen ↔ image transform, in one place.