DocumentPreprocessingOptions
Options & Configuration · AiDotNet.Preprocessing.Document
Options for document preprocessing.
Constructors
| Constructor | Summary |
|---|---|
DocumentPreprocessingOptions() |
Properties
| Property | Summary |
|---|---|
BinarizationMethod BinarizationMethod { get; set; } |
Binarization method. |
NoiseRemovalMethod NoiseRemovalMethod { get; set; } |
Noise removal method. |
bool ApplyBinarization { get; set; } |
Whether to apply binarization. |
bool ApplyDeskew { get; set; } |
Whether to apply deskewing. |
bool ApplyLayoutNormalization { get; set; } |
Whether to apply layout normalization. |
bool ApplyNoiseRemoval { get; set; } |
Whether to apply noise removal. |
bool NormalizeIntensity { get; set; } |
Whether to normalize intensity to 0-1 range. |
double DeskewMaxAngle { get; set; } |
Maximum deskew angle in degrees. |
int TargetHeight { get; set; } |
Target height for layout normalization. |
int TargetWidth { get; set; } |
Target width for layout normalization. |