Georgian OCR in C# and .NET

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

IronOCR jest komponentem oprogramowania C# umożliwiającym programistom .NET odczytywanie tekstu z obrazów i dokumentów PDF w 126 językach, w tym po gruzińsku.

Jest to zaawansowany fork Tesseract, stworzony wyłącznie dla programistów .NET i regularnie przewyższa inne silniki Tesseract zarówno pod względem szybkości, jak i dokładności.

Zawartość IronOcr.Languages.Georgian

Ten pakiet zawiera 176 języków OCR dla .NET:

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

Pobieranie

Pakiet językowy gruziński [ქართული]

Instalacja

Pierwszą rzeczą, którą należy zrobić, jest zainstalowanie pakietu OCR dla języka gruzińskiego w projekcie .NET.

Install-Package IronOcr.Languages.Georgian

Przyklad kodu

Ten przykład kodu C# demonstruje, jak odczytać tekst gruziński z obrazu lub dokumentu PDF przy użyciu biblioteki 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

Ten skrypt inicjalizuje silnik OCR skonfigurowany dla języka gruzińskiego, przetwarza określony plik graficzny i wyprowadza wyodrębniony tekst.