Filter Wizard
IronOCR includes an OcrInputFilterWizard
class that can automatically evaluate combinations of preprocessing filters to maximize OCR confidence. This is ideal when you're unsure which filters yield the best results. Instead of manually applying contrast, sharpen, binarize, etc., OcrInputFilterWizard.Run(...)
performs a brute-force scan for optimal settings and returns the best filter combination or code snippet to reproduce it.
Optional Filters You Can Apply
Some common filters in IronOCR that you might replicate manually include:
input.Contrast()
input.Sharpen()
input.Binarize()
input.ToGrayScale()
input.Invert()
input.Deskew()
input.Scale(...)
input.Denoise()
input.DeepCleanBackgroundNoise()
input.EnhanceResolution()
input.Dilate()
,input.Erode()
These methods may be used in combination when manually constructing pipelines, following guidance from the wizard results or your own testing.
Discover How to Correct Image Quality for Enhanced OCR Accuracy with Our Guide!