Syriac OCR in C# and .NET
Curtis Chau
Updated: 2026年4月23日
IronOCR は、.NET コーダーがシリア語を含む 126 の言語で画像や PDF ドキュメントからテキストを読み取ることを可能にする C# ソフトウェア コンポーネントです。
これは、特に.NET開発者向けに構築されたTesseractの高度なフォークであり、速度と精度の両方で他のTesseractエンジンを定期的に上回ります。
IronOcr.Languages.Syriac の内容
このパッケージには、.NET 用の 108 個の OCR 言語が含まれています。
- シリア語
- シリア語ベスト
- シリア・ファスト
- シリア語アルファベット
- シリア語アルファベットベスト
- シリア語アルファベット高速
ダウンロード
シリア語言語パック [シリア語]
インストール
最初のステップは、.NET プロジェクトにSyriac OCR パッケージをインストールすることです。
Code Example
この C# コード例は、画像または PDF ドキュメントからシリア語のテキストを読み取ります。
// Import the IronOcr library
using IronOcr;
class Program
{
static void Main()
{
// Instantiate the IronTesseract object
var Ocr = new IronTesseract();
// Set the language to Syriac
Ocr.Language = OcrLanguage.Syriac;
// Create an OCR input from an image file
using (var Input = new OcrInput(@"images\Syriac.png"))
{
// Read the image and extract the text
var Result = Ocr.Read(Input);
// Retrieve the full recognized text
var AllText = Result.Text;
// Output the text to the console
Console.WriteLine(AllText);
}
}
}' Import the IronOcr library
Imports IronOcr
Module Program
Sub Main()
' Instantiate the IronTesseract object
Dim Ocr As New IronTesseract()
' Set the language to Syriac
Ocr.Language = OcrLanguage.Syriac
' Create an OCR input from an image file
Using Input As New OcrInput("images\Syriac.png")
' Read the image and extract the text
Dim Result = Ocr.Read(Input)
' Retrieve the full recognized text
Dim AllText = Result.Text
' Output the text to the console
Console.WriteLine(AllText)
End Using
End Sub
End Moduleこの例では:
- OCRを処理するために
IronTesseractのインスタンスを作成します。 - この言語の正確なテキスト認識を保証するために、
Syriacに設定します。 - シリア文字を含む画像を
Ocr.Readを使用して処理します。 - 認識されたテキストは
Result.Textに保存され、アプリケーションでさらに利用することができます。

テクニカルライター
Curtis Chauは、カールトン大学でコンピュータサイエンスの学士号を取得し、Node.js、TypeScript、JavaScript、およびReactに精通したフロントエンド開発を専門としています。直感的で美しいユーザーインターフェースを作成することに情熱を持ち、Curtisは現代のフレームワークを用いた開発や、構造の良い視覚的に魅力的なマニュアルの作成を楽しんでいます。
...
詳しく読む