Crate oneocr_rs Copy item path Source BoundingBox This BoundingBox struct represents a bounding box in 2D space, used for OCR to tightly enclose detected text. OcrEngine The OcrEngine struct represents the OneOcr processing engine. OcrLine The OcrLine struct represents a line of text recognized by the OCR engine.
It contains the recognized text, its bounding box, and optionally the words within the line. OcrOptions Configuration for OCR processing behavior. OcrResult The OcrResult struct represents the result of an OCR operation.
It contains the recognized text lines, their bounding boxes, and the image angle. OcrWord The OcrWord struct represents a word recognized by the OCR engine.
It contains the recognized word, its confidence score, and its bounding box. Point This Point struct represents a point in 2D space with X and Y coordinates. Resolution A simple width×height pair. ImageInput Input source for OCR processing. OneOcrError Custom error type for OneOcr operations.