Uyghur 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, Uygurca da 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.Uyghur'un İçeriği

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

  • Uyghur
  • UyghurBest
  • UyghurFast

İndirme

Uygur Dil Paketi [Uyƣurqə]

Kurulum

Yapmamız gereken ilk şey, .NET projenize Uygurca OCR paketini yüklemektir.

Install-Package IronOcr.Languages.Uyghur

Kod Örneği

Bu C# kod örneği, bir resim veya PDF belgesinden Uygurca metin okur.

using IronOcr;

var Ocr = new IronTesseract();
// Set the OCR language to Uyghur. This is necessary to correctly read Uyghur text.
Ocr.Language = OcrLanguage.Uyghur;

// Create an OCR input object from a file. This can be an image or a PDF.
using (var Input = new OcrInput(@"images\Uyghur.png"))
{
    // Perform text recognition on the input data.
    var Result = Ocr.Read(Input);

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

    // Additional processing of AllText can be done here.
}
using IronOcr;

var Ocr = new IronTesseract();
// Set the OCR language to Uyghur. This is necessary to correctly read Uyghur text.
Ocr.Language = OcrLanguage.Uyghur;

// Create an OCR input object from a file. This can be an image or a PDF.
using (var Input = new OcrInput(@"images\Uyghur.png"))
{
    // Perform text recognition on the input data.
    var Result = Ocr.Read(Input);

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

    // Additional processing of AllText can be done here.
}
Imports IronOcr

Private Ocr = New IronTesseract()
' Set the OCR language to Uyghur. This is necessary to correctly read Uyghur text.
Ocr.Language = OcrLanguage.Uyghur

' Create an OCR input object from a file. This can be an image or a PDF.
Using Input = New OcrInput("images\Uyghur.png")
	' Perform text recognition on the input data.
	Dim Result = Ocr.Read(Input)

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

	' Additional processing of AllText can be done here.
End Using
$vbLabelText   $csharpLabel