Skip to main content

Module types

Module types 

Source
Expand description

Types used in image processing operations

This module defines various enums that represent different options and configurations for image processing operations in the OCR pipeline.

Structs§

ImageScaleInfo
Information about image scaling during preprocessing

Enums§

BoxType
Specifies the type of bounding box used for text detection
ColorOrder
Specifies whether the model expects RGB or BGR channel ordering.
CropMode
Specifies how to crop an image when the aspect ratios don’t match
LimitType
Specifies how to limit the size of an image during resizing operations
ResizeType
Specifies different strategies for resizing images
ScoreMode
Specifies the mode for calculating scores in text detection/recognition
TensorLayout
Specifies the data layout of an image tensor