C# と .NET でのアルバニア語 OCR
Other versions of this document:
IronOCR は、.NET コーダーがアルバニア語を含む 126 の言語で画像や PDF ドキュメントからテキストを読み取ることを可能にする C# ソフトウェア コンポーネントです。 これはTesseractの高度なフォークであり、.NET開発者専用に構築され、速度と精度の両方で他のTesseractエンジンを定期的に上回ります。
IronOcr.Languages.Albanian の内容
このパッケージには、.NET 用の 49 個の OCR 言語が含まれています。
- アルバニア語
- アルバニア語ベスト
- アルバニアファースト
ダウンロード
アルバニア語言語パック[アルバニア語]
インストール
最初に、アルバニア語OCR パッケージを .NET プロジェクトにインストールする必要があります。
Install-Package IronOCR.Languages.Albanian
Code Example
この C# コード例は、画像または PDF ドキュメントからアルバニア語のテキストを読み取ります。
// This example demonstrates how to use IronOCR to extract text from an image using the Albanian language pack.
using IronOcr;
var Ocr = new IronTesseract(); // Create a new instance of the IronTesseract engine.
Ocr.Language = OcrLanguage.Albanian; // Set the OCR language to Albanian.
using (var Input = new OcrInput(@"images\Albanian.png")) // Provide path to the image file.
{
var Result = Ocr.Read(Input); // Perform OCR on the input image.
var AllText = Result.Text; // Extract the recognized text from the OCR result.
// Optionally, use the extracted text for further processing.
}// This example demonstrates how to use IronOCR to extract text from an image using the Albanian language pack.
using IronOcr;
var Ocr = new IronTesseract(); // Create a new instance of the IronTesseract engine.
Ocr.Language = OcrLanguage.Albanian; // Set the OCR language to Albanian.
using (var Input = new OcrInput(@"images\Albanian.png")) // Provide path to the image file.
{
var Result = Ocr.Read(Input); // Perform OCR on the input image.
var AllText = Result.Text; // Extract the recognized text from the OCR result.
// Optionally, use the extracted text for further processing.
}' This example demonstrates how to use IronOCR to extract text from an image using the Albanian language pack.
Imports IronOcr
Private Ocr = New IronTesseract() ' Create a new instance of the IronTesseract engine.
Ocr.Language = OcrLanguage.Albanian ' Set the OCR language to Albanian.
Using Input = New OcrInput("images\Albanian.png") ' Provide path to the image file.
Dim Result = Ocr.Read(Input) ' Perform OCR on the input image.
Dim AllText = Result.Text ' Extract the recognized text from the OCR result.
' Optionally, use the extracted text for further processing.
End Using




