Northern Kurdish OCR in C# and .NET
IronOCR, .NET kodlayıcılarının 126 dilde, Kuzey Kürtçesi de dahil olmak üzere, görüntülerden ve PDF belgelerinden metin okumalarını sağlayan bir C# yazılım bileşenidir.
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.NorthernKurdish İçeriği
Bu paket .NET için 70 OCR dili içerir:
- NorthernKurdish
- NorthernKurdishBest
- NorthernKurdishFast
İndirme
Kuzey Kürtçesi Dil Paketi [Kurmanji]
Kurulum
İlk yapmamız gereken, .NET projenize Kuzey Kürtçesi OCR paketini yüklemektir.
Install-Package IronOcr.Languages.NorthernKurdish
Kod Örneği
Bu C# kod örneği, bir görüntü veya PDF belgesinden Kuzey Kürtçesi metnini okur.
// Ensure that the IronOCR package and the Northern Kurdish language package are installed
using IronOcr;
var Ocr = new IronTesseract();
// Set the OCR language to Northern Kurdish
Ocr.Language = OcrLanguage.NorthernKurdish;
// Use a using statement to ensure resources are disposed of correctly
// Specify the path to the image or PDF file you want to process
using (var Input = new OcrInput(@"images\NorthernKurdish.png"))
{
// Read the text from the input image or PDF
var Result = Ocr.Read(Input);
// Retrieve the recognized text
var AllText = Result.Text;
// AllText now contains the Northern Kurdish text extracted from the image
}
// Ensure that the IronOCR package and the Northern Kurdish language package are installed
using IronOcr;
var Ocr = new IronTesseract();
// Set the OCR language to Northern Kurdish
Ocr.Language = OcrLanguage.NorthernKurdish;
// Use a using statement to ensure resources are disposed of correctly
// Specify the path to the image or PDF file you want to process
using (var Input = new OcrInput(@"images\NorthernKurdish.png"))
{
// Read the text from the input image or PDF
var Result = Ocr.Read(Input);
// Retrieve the recognized text
var AllText = Result.Text;
// AllText now contains the Northern Kurdish text extracted from the image
}
' Ensure that the IronOCR package and the Northern Kurdish language package are installed
Imports IronOcr
Private Ocr = New IronTesseract()
' Set the OCR language to Northern Kurdish
Ocr.Language = OcrLanguage.NorthernKurdish
' Use a using statement to ensure resources are disposed of correctly
' Specify the path to the image or PDF file you want to process
Using Input = New OcrInput("images\NorthernKurdish.png")
' Read the text from the input image or PDF
Dim Result = Ocr.Read(Input)
' Retrieve the recognized text
Dim AllText = Result.Text
' AllText now contains the Northern Kurdish text extracted from the image
End Using

