Javanese OCR in C# and .NET
IronOCR は、.NET コーダーがジャワ語を含む 126 の言語で画像や PDF ドキュメントからテキストを読み取ることを可能にする C# ソフトウェア コンポーネントです。
これはTesseractの高度なフォークであり、.NET開発者専用に構築され、速度と精度の両方で他のTesseractエンジンを定期的に上回ります。
IronOcr.Languages.Javanese の内容
このパッケージには、.NET 用の 49 個の OCR 言語が含まれています。
- ジャワ語
- ジャワ語ベスト
- ジャワファースト
ダウンロード
ジャワ語言語パック[ジャワ語]
インストール
最初に、 Javanese OCR パッケージを .NET プロジェクトにインストールする必要があります。
Install-Package IronOcr.Languages.Javanese
Code Example
このC#コード例は、画像またはPDFドキュメントからジャワ語のテキストを読み取ります。
// Import the IronOCR namespace to use its OCR functionalities
using IronOcr;
var Ocr = new IronTesseract(); // Create a new instance of the IronTesseract class
Ocr.Language = OcrLanguage.Javanese; // Set the OCR language to Javanese
// Use the OcrInput class to specify the image or PDF document that will be read
using (var Input = new OcrInput(@"images\Javanese.png"))
{
// Perform OCR on the specified input
var Result = Ocr.Read(Input);
// Retrieve all recognized text from the result
var AllText = Result.Text;
}
// Import the IronOCR namespace to use its OCR functionalities
using IronOcr;
var Ocr = new IronTesseract(); // Create a new instance of the IronTesseract class
Ocr.Language = OcrLanguage.Javanese; // Set the OCR language to Javanese
// Use the OcrInput class to specify the image or PDF document that will be read
using (var Input = new OcrInput(@"images\Javanese.png"))
{
// Perform OCR on the specified input
var Result = Ocr.Read(Input);
// Retrieve all recognized text from the result
var AllText = Result.Text;
}
' Import the IronOCR namespace to use its OCR functionalities
Imports IronOcr
Private Ocr = New IronTesseract() ' Create a new instance of the IronTesseract class
Ocr.Language = OcrLanguage.Javanese ' Set the OCR language to Javanese
' Use the OcrInput class to specify the image or PDF document that will be read
Using Input = New OcrInput("images\Javanese.png")
' Perform OCR on the specified input
Dim Result = Ocr.Read(Input)
' Retrieve all recognized text from the result
Dim AllText = Result.Text
End Using

