Amharic OCR in C# and .NET
Andere Versionen dieses Dokuments:
IronOCR ist eine C#-Softwarekomponente, die .NET-Programmierern ermöglicht, Text aus Bildern und PDF-Dokumenten in 126 Sprachen, einschließlich Amharisch, zu lesen.
Es ist eine fortschrittliche Abspaltung von Tesseract, die ausschließlich for .NET-Entwickler gebaut wurde und regelmäßig andere Tesseract-Engines sowohl in Geschwindigkeit als auch Genauigkeit übertrifft.
Inhalt von IronOcr.Languages.Amharic
Dieses Paket enthält 46 OCR-Sprachen for .NET:
- Amharisch
- AmharischBest
- AmharischFast
Download
Amharisch Sprachpaket [አማርኛ]
Installation
Das Erste, was wir tun müssen, ist unser Amharisch OCR-Paket in Ihr .NET-Projekt zu installieren.
Install-Package IronOcr.Languages.Amharic
Beispielcode
Dieses C#-Codebeispiel liest Amharisch-Text aus einem Bild oder PDF-Dokument.
// Install the necessary Amharic language package for IronOCR
// PM> Install-Package IronOcr.Languages.Amharic
using IronOcr;
var Ocr = new IronTesseract(); // Create a new instance of the IronTesseract OCR engine
Ocr.Language = OcrLanguage.Amharic; // Set the OCR language to Amharic
// Read text from an image
using (var Input = new OcrInput(@"images\Amharic.png")) // Specify the path to the image file
{
var Result = Ocr.Read(Input); // Perform OCR on the input image
var AllText = Result.Text; // Get the extracted text from the OCR result
// The variable 'AllText' contains the text in Amharic read from the image
}
// Install the necessary Amharic language package for IronOCR
// PM> Install-Package IronOcr.Languages.Amharic
using IronOcr;
var Ocr = new IronTesseract(); // Create a new instance of the IronTesseract OCR engine
Ocr.Language = OcrLanguage.Amharic; // Set the OCR language to Amharic
// Read text from an image
using (var Input = new OcrInput(@"images\Amharic.png")) // Specify the path to the image file
{
var Result = Ocr.Read(Input); // Perform OCR on the input image
var AllText = Result.Text; // Get the extracted text from the OCR result
// The variable 'AllText' contains the text in Amharic read from the image
}
Imports IronOcr
' Install the necessary Amharic language package for IronOCR
' PM> Install-Package IronOcr.Languages.Amharic
Dim Ocr As New IronTesseract() ' Create a new instance of the IronTesseract OCR engine
Ocr.Language = OcrLanguage.Amharic ' Set the OCR language to Amharic
' Read text from an image
Using Input As New OcrInput("images\Amharic.png") ' Specify the path to the image file
Dim Result = Ocr.Read(Input) ' Perform OCR on the input image
Dim AllText = Result.Text ' Get the extracted text from the OCR result
' The variable 'AllText' contains the text in Amharic read from the image
End Using

