Compatibilidad con paquetes de idiomas financieros para IronOCR

This article was translated from English: Does it need improvement?
Translated
View the article in English

¿Puedo usar el Paquete de Idioma Financiero para ayudar a leer tablas de datos en IronOCR?

Sí, utilizar el Paquete de Idioma Financiero y guardar como un PDF con capacidad de búsqueda puede ser un medio muy efectivo para lograr esto.

Paquete de idiomas financieros de IronOCR

Documentación del Paquete de Idioma Financiero de IronOCR

Código de ejemplo

// Import the IronOcr library
using IronOcr;

class Program
{
    static void Main()
    {
        // Initialize a new instance of IronTesseract
        var Ocr = new IronTesseract();

        // Set the OCR language to Financial
        Ocr.Language = OcrLanguage.Financial;

        // Using statement to ensure proper disposal of resources
        using (var input = new OcrInput())
        {
            // Add a PDF file to be processed by OCR
            input.AddPdf("TestPdf_new.pdf");

            // Optional: Add image filters if needed to improve OCR 
            // input.Deskew();    // Corrects rotation and skewing
            // input.DeNoise();   // Reduces noise and improves readability

            // Perform OCR on the input PDF
            var Result = Ocr.Read(input);

            // Extract the recognized text
            string TestResult = Result.Text;

            // Save the result as a searchable PDF using the Financial language pack
            Result.SaveAsSearchablePdf("Output_using_Financial_language_pack.pdf");
        }
    }
}
// Import the IronOcr library
using IronOcr;

class Program
{
    static void Main()
    {
        // Initialize a new instance of IronTesseract
        var Ocr = new IronTesseract();

        // Set the OCR language to Financial
        Ocr.Language = OcrLanguage.Financial;

        // Using statement to ensure proper disposal of resources
        using (var input = new OcrInput())
        {
            // Add a PDF file to be processed by OCR
            input.AddPdf("TestPdf_new.pdf");

            // Optional: Add image filters if needed to improve OCR 
            // input.Deskew();    // Corrects rotation and skewing
            // input.DeNoise();   // Reduces noise and improves readability

            // Perform OCR on the input PDF
            var Result = Ocr.Read(input);

            // Extract the recognized text
            string TestResult = Result.Text;

            // Save the result as a searchable PDF using the Financial language pack
            Result.SaveAsSearchablePdf("Output_using_Financial_language_pack.pdf");
        }
    }
}
' Import the IronOcr library
Imports IronOcr

Friend Class Program
	Shared Sub Main()
		' Initialize a new instance of IronTesseract
		Dim Ocr = New IronTesseract()

		' Set the OCR language to Financial
		Ocr.Language = OcrLanguage.Financial

		' Using statement to ensure proper disposal of resources
		Using input = New OcrInput()
			' Add a PDF file to be processed by OCR
			input.AddPdf("TestPdf_new.pdf")

			' Optional: Add image filters if needed to improve OCR 
			' input.Deskew();    // Corrects rotation and skewing
			' input.DeNoise();   // Reduces noise and improves readability

			' Perform OCR on the input PDF
			Dim Result = Ocr.Read(input)

			' Extract the recognized text
			Dim TestResult As String = Result.Text

			' Save the result as a searchable PDF using the Financial language pack
			Result.SaveAsSearchablePdf("Output_using_Financial_language_pack.pdf")
		End Using
	End Sub
End Class
$vbLabelText   $csharpLabel
Curtis Chau
Escritor Técnico

Curtis Chau tiene una licenciatura en Ciencias de la Computación (Carleton University) y se especializa en el desarrollo front-end con experiencia en Node.js, TypeScript, JavaScript y React. Apasionado por crear interfaces de usuario intuitivas y estéticamente agradables, disfruta trabajando con frameworks modernos y creando manuales bien ...

Leer más
¿Listo para empezar?
Nuget Descargas 5,167,857 | Version: 2025.11 recién lanzado