Uzbek OCR in C# and .NET

This article was translated from English: Does it need improvement?
Translated
View the article in English
Bu belgenin diğer versiyonları:

IronOCR, .NET kodlayıcılarının 126 dilde, Özbekçe de dahil olmak üzere, resimlerden ve PDF belgelerinden metin okumasını sağlayan bir C# yazılım bileşenidir.

Tesseract'ın ileri düzey bir çatallamasıdır, yalnızca .NET geliştiricileri için oluşturulmuş olup hız ve doğruluk açısından diğer Tesseract motorlarını düzenli olarak geride bırakmaktadır.

IronOcr.Languages.Uzbek'in İçeriği

Bu paket, .NET için 102 OCR dili içerir:

  • Özbekçe
  • ÖzbekçeBest
  • ÖzbekçeFast
  • ÖzbekçeCyrillic
  • ÖzbekçeCyrillicBest
  • ÖzbekçeCyrillicFast

İndirme

Özbek Dil Paketi [O'zbek]

Kurulum

Yapmamız gereken ilk şey, .NET projenize Özbekçe OCR paketini yüklemektir.

PM> Install-Package IronOcr.Languages.Uzbek

Kod Örneği

Bu C# kod örneği, bir resim veya PDF belgesinden Özbekçe metin okur.

// Ensure you have installed the Uzbek language package for IronOCR
// PM> Install-Package IronOcr.Languages.Uzbek

using IronOcr;

namespace UzbekOcrExample
{
    class Program
    {
        static void Main(string[] args)
        {
            // Initialize the IronTesseract object
            var Ocr = new IronTesseract();

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

            // Specify the file path of the image or PDF containing Uzbek text
            using (var Input = new OcrInput(@"images\Uzbek.png"))
            {
                // Perform OCR on the input and get the result
                var Result = Ocr.Read(Input);

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

                // Output the recognized text to the console
                Console.WriteLine(AllText);
            }
        }
    }
}
// Ensure you have installed the Uzbek language package for IronOCR
// PM> Install-Package IronOcr.Languages.Uzbek

using IronOcr;

namespace UzbekOcrExample
{
    class Program
    {
        static void Main(string[] args)
        {
            // Initialize the IronTesseract object
            var Ocr = new IronTesseract();

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

            // Specify the file path of the image or PDF containing Uzbek text
            using (var Input = new OcrInput(@"images\Uzbek.png"))
            {
                // Perform OCR on the input and get the result
                var Result = Ocr.Read(Input);

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

                // Output the recognized text to the console
                Console.WriteLine(AllText);
            }
        }
    }
}
' Ensure you have installed the Uzbek language package for IronOCR
' PM> Install-Package IronOcr.Languages.Uzbek

Imports IronOcr

Namespace UzbekOcrExample
	Friend Class Program
		Shared Sub Main(ByVal args() As String)
			' Initialize the IronTesseract object
			Dim Ocr = New IronTesseract()

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

			' Specify the file path of the image or PDF containing Uzbek text
			Using Input = New OcrInput("images\Uzbek.png")
				' Perform OCR on the input and get the result
				Dim Result = Ocr.Read(Input)

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

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