Skip to main content
CorrectSkewModeEnum enumeration constants are used to specify the mode of image skew correction.
typedef enum {
 CSM_Auto,
 CSM_Fast,
 CSM_Off
} CorrectSkewModeEnum;

Elements

NameDescription
CSM\_AutoUses the neural-network–based skew correction (new algorithm). Delivers the highest average accuracy; typically slower than the legacy method.
CSM\_FastUses the legacy (non-neural) skew correction algorithm. Faster, but less precise on average.
CSM\_OffDisables skew correction.

Used in

IPagePreprocessingParams::CorrectSkew