篩選精靈
如果不知道應該對影像應用哪種過濾器,OcrInputFilterWizard 提供了適合 ocrInput 的過濾器列表。
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
Private ocrTesseract = New IronTesseract()
' WIZARD - If you are unsure which filters to use,
' use the debug-wizard to test all combinations:
Private codeToRun As String = OcrInputFilterWizard.Run("images\image.png", Double confidence, ocrTesseract)
Console.WriteLine($"Confidence: {confidence}")
Console.WriteLine(codeToRun)Install-Package IronOcr
如果不知道應該對影像應用哪種過濾器,OcrInputFilterWizard 提供了適合 ocrInput 的過濾器列表。