Asistente para filtros
En caso de no saber qué filtro debe aplicarse a la imagen, OcrInputFilterWizard
proporciona la lista de filtros adecuados para 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
En caso de no saber qué filtro debe aplicarse a la imagen, OcrInputFilterWizard
proporciona la lista de filtros adecuados para ocrInput.
9 productos API .NET para sus documentos de oficina