Quechua OCR in C# and .NET
IronOCR, C# yazılım bileşeni olarak, .NET kodlayıcılarına Keçuva dahil 126 dildeki görüntülerden ve PDF belgelerinden metin okuma imkanı tanır.
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.Quechua İçeriği
Bu paket, .NET için 46 OCR dili içerir:
- Keçuva
- KeçuvaEnIyi
- KeçuvaHızlı
İndirme
Keçuva Dil Paketi [Runa Simi]
Kurulum
İlk yapmamız gereken şey, .NET projenize Keçuva OCR paketimizi yüklemektir.
Install-Package IronOcr.Languages.Quechua
Kod Örneği
Bu C# kod örneği, bir görüntü veya PDF belgesinden Keçuva metni okur.
// Import the IronOcr namespace
using IronOcr;
class Program
{
static void Main()
{
// Create a new IronTesseract OCR engine
var Ocr = new IronTesseract();
// Set the OCR language to Quechua
Ocr.Language = OcrLanguage.Quechua;
// Wrap OCR input within a using statement for resource management
using (var Input = new OcrInput(@"images\Quechua.png"))
{
// Perform OCR read operation on the input image
var Result = Ocr.Read(Input);
// Retrieve the recognized text from the result
var AllText = Result.Text;
// Output the recognized text
Console.WriteLine(AllText);
}
}
}
// Import the IronOcr namespace
using IronOcr;
class Program
{
static void Main()
{
// Create a new IronTesseract OCR engine
var Ocr = new IronTesseract();
// Set the OCR language to Quechua
Ocr.Language = OcrLanguage.Quechua;
// Wrap OCR input within a using statement for resource management
using (var Input = new OcrInput(@"images\Quechua.png"))
{
// Perform OCR read operation on the input image
var Result = Ocr.Read(Input);
// Retrieve the recognized text from the result
var AllText = Result.Text;
// Output the recognized text
Console.WriteLine(AllText);
}
}
}
' Import the IronOcr namespace
Imports IronOcr
Friend Class Program
Shared Sub Main()
' Create a new IronTesseract OCR engine
Dim Ocr = New IronTesseract()
' Set the OCR language to Quechua
Ocr.Language = OcrLanguage.Quechua
' Wrap OCR input within a using statement for resource management
Using Input = New OcrInput("images\Quechua.png")
' Perform OCR read operation on the input image
Dim Result = Ocr.Read(Input)
' Retrieve the recognized text from the result
Dim AllText = Result.Text
' Output the recognized text
Console.WriteLine(AllText)
End Using
End Sub
End Class
Kodun her adımında IronOcr kullanarak Keçuva OCR'yi uygulama için açıklamalar eklenmiştir. "images\Quechua.png" adresinin sisteminizde var olan bir Keçuva görüntü dosyasını işaret ettiğinden emin olun.

