Property EnableDespeckle
- Namespace
- LMKit.Extraction.Ocr
- Assembly
- LM-Kit.NET.dll
EnableDespeckle
Gets or sets a value indicating whether speckle noise removal is applied to the binarized image before OCR recognition.
public bool EnableDespeckle { get; set; }
Property Value
- bool
trueto remove small isolated foreground components (scanner debris, photocopy specks) from the binary image;falseto skip despeckle filtering entirely. The default istrue.
Remarks
Disabling this property preserves all foreground pixels in the binarized image, which can help on documents with very thin strokes (e.g., typewriter text) where the despeckle filter may incorrectly remove character fragments.