IRONSOFTWAREHOME
Filter Wizard
using IronOcr;
using System;

var ocrTesseract = new IronTesseract();

// WIZARD - If you are unsure which filters to use,
// use the debug-wizard to test all combinations:

string codeToRun = OcrInputFilterWizard.Run(@"images\image.png", out double confidence, ocrTesseract);
Console.WriteLine($"Confidence: {confidence}");
Console.WriteLine(codeToRun);
Imports IronOcr
Imports System

Dim ocrTesseract = New IronTesseract()

' WIZARD - If you are unsure which filters to use,
' use the debug-wizard to test all combinations:

Dim confidence As Double
Dim codeToRun As String = OcrInputFilterWizard.Run("images\image.png", confidence, ocrTesseract)
Console.WriteLine($"Confidence: {confidence}")
Console.WriteLine(codeToRun)
NuGet Download
PM > Install-Package IronOcr
Filter Wizard

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.

Enhance Image Quality for Better OCR Results
View on GitHub

Ready to Get Started?

Nuget Downloads 6,236,385Version:2026.9just released

Key in blue circle

Get your free 30-day Trial Key instantly.

Your trial license will be sent to your email address

No limitations. 100% unlocked. No credit card.

bullet_checkedNo credit card or account creation requiredNo limitations. 100% unlocked. No credit card.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronPDF
Get Your No-Obligation Consult
Complete the form below or email sales@ironsoftware.com
Your details will always be kept confidential.
Trusted by Millions of Engineers Worldwide
Iron Software's customer logos
Get your free 30-day Trial Key instantly.
No credit card or account creation required