Uyghur OCR in C# and .NET
Andere Versionen dieses Dokuments:
IronOCR ist eine C#-Softwarekomponente, die es .NET-Entwicklern ermöglicht, Text aus Bildern und PDF-Dokumenten in 126 Sprachen, einschließlich Uigurisch, zu lesen.
Es ist eine erweiterte Abspaltung von Tesseract, die exklusiv for .NET-Entwickler entwickelt wurde und regelmäßig andere Tesseract-Engines sowohl in Bezug auf Geschwindigkeit als auch Genauigkeit übertrifft.
Inhalt von IronOcr.Languages.Uyghur
Dieses Paket enthält 43 OCR-Sprachen for .NET:
- Uigurisch
- UigurischBest
- UigurischSchnell
Download
Uigurisches Sprachpaket [Uyƣurqə]
Installation
Das erste, was wir tun müssen, ist unser Uigurisch OCR-Paket in dein .NET-Projekt zu installieren.
Install-Package IronOcr.Languages.Uyghur
Beispielcode
Dieses C#-Codebeispiel liest uigurischen Text aus einem Bild oder PDF-Dokument.
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

