Sindhi 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 Sindhi, 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.Sindhi
Dieses Paket enthält 43 OCR-Sprachen for .NET:
- Sindhi
- SindhiBest
- SindhiFast
Download
Sindhi-Sprachpaket [सिनधी]
Installation
Das erste, was zu tun ist, ist das Sindhi OCR-Paket in Ihrem .NET-Projekt zu installieren.
Install-Package IronOcr.Languages.Sindhi
Beispielcode
Dieses C#-Codebeispiel liest Sindhi-Text aus einem Bild oder PDF-Dokument.
// Ensure the IronOCR package and Sindhi language pack are installed
using IronOcr;
var Ocr = new IronTesseract
{
Language = OcrLanguage.Sindhi // Set the OCR language to Sindhi
};
// Open an image or PDF document for OCR processing
using (var Input = new OcrInput(@"images\Sindhi.png"))
{
// Perform OCR and get the results
var Result = Ocr.Read(Input);
// Extract the recognized text
var AllText = Result.Text;
// Optionally, you can do something with the extracted text,
// such as displaying or saving it to a file.
}
// Ensure the IronOCR package and Sindhi language pack are installed
using IronOcr;
var Ocr = new IronTesseract
{
Language = OcrLanguage.Sindhi // Set the OCR language to Sindhi
};
// Open an image or PDF document for OCR processing
using (var Input = new OcrInput(@"images\Sindhi.png"))
{
// Perform OCR and get the results
var Result = Ocr.Read(Input);
// Extract the recognized text
var AllText = Result.Text;
// Optionally, you can do something with the extracted text,
// such as displaying or saving it to a file.
}
' Ensure the IronOCR package and Sindhi language pack are installed
Imports IronOcr
Private Ocr = New IronTesseract With {.Language = OcrLanguage.Sindhi}
' Open an image or PDF document for OCR processing
Using Input = New OcrInput("images\Sindhi.png")
' Perform OCR and get the results
Dim Result = Ocr.Read(Input)
' Extract the recognized text
Dim AllText = Result.Text
' Optionally, you can do something with the extracted text,
' such as displaying or saving it to a file.
End Using
In diesem Codebeispiel:
- Wir haben eine Instanz von
IronTesseracteingerichtet. - Stellen Sie die OCR-Sprache auf Sindhi ein.
- Öffnen Sie eine Bilddatei, die Sindhi-Text enthält.
- Führen Sie eine OCR-Texterkennung für das Bild durch und extrahieren Sie den Text mithilfe der Methode
Read. Der extrahierte Text wird zur weiteren Verwendung in der VariableAllTextgespeichert.

