models
models module
It includes classes such as ImageData, OcrInput, and PreprocessingFilter, as well as enums like Format, InputType, Language, and SpellCheckLanguage, which together enable precise input handling, preprocessing, and language selection for OCR tasks. These types are the primary building blocks for constructing OCR requests and interpreting results.
Classes
| Class | Description |
|---|---|
| ImageData | |
| OcrInput | Main class to collect images. |
| PreprocessingFilter | Base class for image processing commands. |
Enums
| Enum | Description |
|---|---|
| Format | Format to save recognition result as document. |
| InputType | Types of image/ documents for processing / recognition. |
| Language | Language model for the recognition. |
| SpellCheckLanguage |