C# と .NET での北クルド語 OCR

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

他126の言語

IronOCR は、.NET コーダーが北クルド語を含む 126 の言語で画像や PDF ドキュメントからテキストを読み取ることを可能にする C# ソフトウェア コンポーネントです。

これはTesseractの高度なフォークであり、.NET開発者専用に構築され、速度と精度の両方で他のTesseractエンジンを定期的に上回ります。

IronOcr.Languages.NorthernKurdish の内容

このパッケージには、.NET 用の 70 の OCR 言語が含まれています。

  • 北クルド人
  • 北クルドベスト
  • 北クルドファースト

ダウンロード

北クルド語言語パック[クルマンジー語]

  • Zip形式でダウンロード
  • NuGetでインストール

インストール

最初に、 Northern Kurdish OCR パッケージを .NET プロジェクトにインストールする必要があります。

Install-Package IronOCR.Languages.NorthernKurdish

Code Example

この C# コード例は、画像または 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