Quechua OCR in C# and .NET

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

126 Daha Fazla Dil

IronOCR, .NET geliştiricilerinin Keçuva dahil olmak üzere 126 dildeki görüntü ve PDF belgelerinden metin okumalarına olanak tanıyan C# yazılım bileşenidir.

Tesseract'ın, yalnızca .NET geliştiricileri için özel olarak oluşturulmuş gelişmiş bir dalıdır ve hız ve doğruluk açısından diğer Tesseract motorlarını düzenli olarak geride bırakır.

IronOcr.Languages.Quechua İçeriği

Bu paket, .NET için 46 OCR dilini içerir:

  • Quechua
  • QuechuaBest
  • KeçuvaFast

İndir

Keçuva Dil Paketi [Runa Simi]

Kurulum

Yapmamız gereken ilk şey, .NET projenize Keçuva OCR paketini yüklemek.

Install-Package IronOcr.Languages.Quechua

Kod Örneği

Bu C# kod örneği, bir görüntü veya PDF belgesinden Keçuva metnini okumaktadır.

// Import the IronOcr namespace
using IronOcr;

class Program
{
    static void Main()
    {
        // Create a new IronTesseract OCR engine
        var Ocr = new IronTesseract();

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

        // Wrap OCR input within a using statement for resource management
        using (var Input = new OcrInput(@"images\Quechua.png"))
        {
            // Perform OCR read operation on the input image
            var Result = Ocr.Read(Input);

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

            // Output the recognized text
            Console.WriteLine(AllText);
        }
    }
}
// Import the IronOcr namespace
using IronOcr;

class Program
{
    static void Main()
    {
        // Create a new IronTesseract OCR engine
        var Ocr = new IronTesseract();

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

        // Wrap OCR input within a using statement for resource management
        using (var Input = new OcrInput(@"images\Quechua.png"))
        {
            // Perform OCR read operation on the input image
            var Result = Ocr.Read(Input);

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

            // Output the recognized text
            Console.WriteLine(AllText);
        }
    }
}
' Import the IronOcr namespace
Imports IronOcr

Friend Class Program
	Shared Sub Main()
		' Create a new IronTesseract OCR engine
		Dim Ocr = New IronTesseract()

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

		' Wrap OCR input within a using statement for resource management
		Using Input = New OcrInput("images\Quechua.png")
			' Perform OCR read operation on the input image
			Dim Result = Ocr.Read(Input)

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

			' Output the recognized text
			Console.WriteLine(AllText)
		End Using
	End Sub
End Class
$vbLabelText   $csharpLabel

IronOCR kullanarak Quechua OCR'yi uygulamaya dahil olan her adımın netliği ve anlaşılırlığı için koda açıklamalar eklenmiştir. "images\Quechua.png" dosyasının sisteminizde mevcut bir Keçuva görüntü dosyasına işaret ettiğinden emin olun.