OCR inuktitut en C# y .NET

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

126 idiomas más

IronOCR es un componente de software C# que permite a los programadores de .NET leer texto de imágenes y documentos PDF en 126 idiomas, incluido el inuktitut.

Es una rama avanzada de Tesseract, construida exclusivamente para desarrolladores de .NET y supera regularmente a otros motores de Tesseract tanto en velocidad como en precisión.

Contenido de IronOcr.Languages.Inuktitut

Este paquete contiene 52 idiomas de OCR para .NET:

  • Inuktitut
  • InuktitutBest
  • InuktitutFast

Descargar

Paquete de idioma Inuktitut [ᐃᓄᒃᑎᑐᑦ]

Instalación

El primer paso es instalar el paquete OCR de Inuktitut en su proyecto .NET:

Install-Package IronOCR.Languages.Inuktitut

Ejemplo de código

Este ejemplo de código en C# lee texto en inuktitut de una imagen o documento PDF.

// First, make sure to install the IronOcr.Languages.Inuktitut package:
// PM> Install-Package IronOcr.Languages.Inuktitut

using IronOcr;

class Program
{
    static void Main()
    {
        // Create a new instance of IronTesseract for performing OCR
        var Ocr = new IronTesseract();

        // Specify the OCR language as Inuktitut
        Ocr.Language = OcrLanguage.Inuktitut;

        // Define the input image or PDF file containing Inuktitut text
        using (var Input = new OcrInput(@"images\Inuktitut.png"))
        {
            // Perform OCR on the input file
            var Result = Ocr.Read(Input);

            // Extract and print the recognized text
            var AllText = Result.Text;
            Console.WriteLine("Recognized Inuktitut Text:");
            Console.WriteLine(AllText);
        }
    }
}
// First, make sure to install the IronOcr.Languages.Inuktitut package:
// PM> Install-Package IronOcr.Languages.Inuktitut

using IronOcr;

class Program
{
    static void Main()
    {
        // Create a new instance of IronTesseract for performing OCR
        var Ocr = new IronTesseract();

        // Specify the OCR language as Inuktitut
        Ocr.Language = OcrLanguage.Inuktitut;

        // Define the input image or PDF file containing Inuktitut text
        using (var Input = new OcrInput(@"images\Inuktitut.png"))
        {
            // Perform OCR on the input file
            var Result = Ocr.Read(Input);

            // Extract and print the recognized text
            var AllText = Result.Text;
            Console.WriteLine("Recognized Inuktitut Text:");
            Console.WriteLine(AllText);
        }
    }
}
' First, make sure to install the IronOcr.Languages.Inuktitut package:
' PM> Install-Package IronOcr.Languages.Inuktitut

Imports IronOcr

Friend Class Program
	Shared Sub Main()
		' Create a new instance of IronTesseract for performing OCR
		Dim Ocr = New IronTesseract()

		' Specify the OCR language as Inuktitut
		Ocr.Language = OcrLanguage.Inuktitut

		' Define the input image or PDF file containing Inuktitut text
		Using Input = New OcrInput("images\Inuktitut.png")
			' Perform OCR on the input file
			Dim Result = Ocr.Read(Input)

			' Extract and print the recognized text
			Dim AllText = Result.Text
			Console.WriteLine("Recognized Inuktitut Text:")
			Console.WriteLine(AllText)
		End Using
	End Sub
End Class
$vbLabelText   $csharpLabel

Este código demuestra cómo usar IronOCR para reconocer texto en inuktitut de una imagen. Después de configurar el idioma a Inuktitut, el código procesa el archivo de imagen especificado e imprime el texto reconocido en la consola.