OCR uigur 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 uigur.

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

Contenido de IronOcr.Languages.Uyghur

Este paquete contiene 43 idiomas OCR para .NET:

  • Uigur
  • UigurBest
  • UigurFast

Descargar

Paquete de idioma uigur [Uyƣurqə]

Instalación

Lo primero que tenemos que hacer es instalar nuestro paquete OCR de uigur en tu proyecto .NET.

Install-Package IronOCR.Languages.Uyghur

Ejemplo de código

Este ejemplo de código C# lee texto uigur de una imagen o documento PDF.

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