Northern Kurdish OCR in C# and .NET

This article was translated from English: Does it need improvement?
Translated
View the article in English

126 wiecej jeżyków

IronOCR to komponent oprogramowania w C#, pozwalajacy programistom .NET na odczyt tekstu z obrazow i dokumentow PDF w 126 jezykach, w tym w jezyku kurdyjskim polnocnym.

Jest to zaawansowany fork Tesseracta, zbudowany wyłącznie dla deweloperów .NET i regularnie przewyższający inne silniki Tesseract pod względem szybkości i dokładności.

Zawartosc IronOcr.Languages.NorthernKurdish

Ten pakiet zawiera 70 języków OCR dla .NET:

  • NorthernKurdish
  • NorthernKurdishBest
  • NorthernKurdishFast

Pobieranie

Northern Kurdish Language Pack [Kurmanji]

Instalacja

Pierwsza rzecz, ktora musimy zrobic, to zainstalowanie pakietu OCR jezyka kurdyjskiego polnocnego do projektu .NET.

Install-Package IronOcr.Languages.NorthernKurdish

Przyklad kodu

Ten przyklad kodu C# odczytuje tekst w jezyku kurdyjskim polnocnym z obrazu lub dokumentu PDF.

// 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
$vbLabelText   $csharpLabel