OCR georgiano en C# y .NET

This article was translated from English: Does it need improvement?
Translated
View the article in English
Other versions of this document:

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

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

Contenido de IronOcr.Languages.Georgian

Este paquete contiene 176 idiomas OCR para .NET:

  • GeorgianAlphabet
  • GeorgianAlphabetBest
  • GeorgianAlphabetFast
  • Georgian
  • GeorgianBest
  • GeorgianFast
  • GeorgianOld
  • GeorgianOldBest
  • GeorgianOldFast

Descargar

Paquete de idioma georgiano [ქართული]

Instalación

Lo primero que necesitamos hacer es instalar el paquete OCR Georgian en su proyecto .NET.

Install-Package IronOcr.Languages.Georgian

Ejemplo de código

Este ejemplo de código C# demuestra cómo leer texto georgiano de una imagen o documento PDF usando la biblioteca IronOCR.

// Ensure that the IronOCR library and the Georgian language pack are installed.
// You can install the package using the following NuGet command:
// PM> Install-Package IronOcr.Languages.Georgian

using IronOcr;

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

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

        // Use a using statement to manage resources efficiently
        using (var Input = new OcrInput(@"images\Georgian.png"))
        {
            // Read the image and extract text
            var Result = Ocr.Read(Input);

            // Obtain the recognized text from the OCR result
            var AllText = Result.Text;

            // Output the recognized text to the console
            Console.WriteLine("Recognized Text: " + AllText);
        }
    }
}
// Ensure that the IronOCR library and the Georgian language pack are installed.
// You can install the package using the following NuGet command:
// PM> Install-Package IronOcr.Languages.Georgian

using IronOcr;

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

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

        // Use a using statement to manage resources efficiently
        using (var Input = new OcrInput(@"images\Georgian.png"))
        {
            // Read the image and extract text
            var Result = Ocr.Read(Input);

            // Obtain the recognized text from the OCR result
            var AllText = Result.Text;

            // Output the recognized text to the console
            Console.WriteLine("Recognized Text: " + AllText);
        }
    }
}
' Ensure that the IronOCR library and the Georgian language pack are installed.
' You can install the package using the following NuGet command:
' PM> Install-Package IronOcr.Languages.Georgian

Imports IronOcr

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

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

		' Use a using statement to manage resources efficiently
		Using Input = New OcrInput("images\Georgian.png")
			' Read the image and extract text
			Dim Result = Ocr.Read(Input)

			' Obtain the recognized text from the OCR result
			Dim AllText = Result.Text

			' Output the recognized text to the console
			Console.WriteLine("Recognized Text: " & AllText)
		End Using
	End Sub
End Class
$vbLabelText   $csharpLabel

Este script inicializa un motor OCR configurado para el idioma georgiano, procesa un archivo de imagen especificado y obtiene el texto extraído.