Crate ocrs

Crate ocrs 

Source

Macros§

log

Structs§

ImageSource
View of an image, for use with OcrEngine::prepare_input.
OcrEngine
Detects and recognizes text in images.
OcrEngineParams
Configuration for an OcrEngine instance.
OcrInput
Input image for OCR analysis. Instances are created using OcrEngine::prepare_input
TextChar
Details of a single character that was recognized.
TextLine
Result of recognizing a line of text.
TextWord
Subsequence of a TextLine that contains a sequence of non-space characters.

Enums§

DecodeMethod
Method used to decode sequence model outputs to a sequence of labels.
DimOrder
Specifies the order in which pixels are laid out in an image tensor.
ImagePixels
View of an image’s pixels, in either (height, width, channels) or (channels, height, width) order.
ImageSourceError
Errors that can occur when creating an ImageSource.

Traits§

TextItem
A non-empty sequence of recognized characters (TextChar) that constitute a logical unit of a document such as a word or line.