Tibetan Alphabet OCR in C# and .NET
Curtis Chau
Updated: 2026年4月23日
IronOCR は、.NET コーダーがチベット文字を含む 126 の言語で画像や PDF ドキュメントからテキストを読み取ることを可能にする C# ソフトウェア コンポーネントです。
これは、.NET 開発者専用に構築された Tesseract の高度なフォークであり、速度と精度の両方で他の Tesseract エンジンを常に上回っています。
IronOcr.Languages.Tibetan の内容
このパッケージには、.NET 用の 114 の OCR 言語が含まれています。
- チベット語
- チベットベスト
- チベットの断食
- チベット文字
- チベット文字ベスト
- チベット語アルファベット早読み
ダウンロード
チベット語アルファベット言語パック [チベット標準]
インストール
最初に行う必要があるのは、チベット語アルファベットOCR パッケージを .NET プロジェクトにインストールすることです。
Code Example
この C# コード例は、画像または PDF ドキュメントからチベット語のアルファベットのテキストを読み取ります。
// Import the IronOcr namespace to use its components
using IronOcr;
class Program
{
static void Main()
{
// Initialize a new IronTesseract object for OCR
var Ocr = new IronTesseract();
// Set the OCR language to Tibetan
Ocr.Language = OcrLanguage.Tibetan;
// Use a using statement for automatic resource disposal
using (var Input = new OcrInput(@"images\Tibetan.png"))
{
// Perform OCR to read text from the input image
var Result = Ocr.Read(Input);
// Retrieve all recognized text from the OCR Result
var AllText = Result.Text;
// Output the recognized text to the console
// Note: Ensure that the console supports Tibetan script for correct display
Console.WriteLine(AllText);
}
}
}' Import the IronOcr namespace to use its components
Imports IronOcr
Module Program
Sub Main()
' Initialize a new IronTesseract object for OCR
Dim Ocr As New IronTesseract()
' Set the OCR language to Tibetan
Ocr.Language = OcrLanguage.Tibetan
' Use a Using statement for automatic resource disposal
Using Input As New OcrInput("images\Tibetan.png")
' Perform OCR to read text from the input image
Dim Result = Ocr.Read(Input)
' Retrieve all recognized text from the OCR Result
Dim AllText = Result.Text
' Output the recognized text to the console
' Note: Ensure that the console supports Tibetan script for correct display
Console.WriteLine(AllText)
End Using
End Sub
End Module' Import the IronOcr namespace to use its components
Imports IronOcr
Module Program
Sub Main()
' Initialize a new IronTesseract object for OCR
Dim Ocr As New IronTesseract()
' Set the OCR language to Tibetan
Ocr.Language = OcrLanguage.Tibetan
' Use a Using statement for automatic resource disposal
Using Input As New OcrInput("images\Tibetan.png")
' Perform OCR to read text from the input image
Dim Result = Ocr.Read(Input)
' Retrieve all recognized text from the OCR Result
Dim AllText = Result.Text
' Output the recognized text to the console
' Note: Ensure that the console supports Tibetan script for correct display
Console.WriteLine(AllText)
End Using
End Sub
End Module注記
- OCRライブラリ (
IronTesseract) は、提供された画像からチベット語を読み取るように設定されています。 OcrInputは入力画像の読み込みを処理し、usingステートメントを使用してリソースの適切な廃棄を保証します。Result.TextにはOCR処理されたテキストが含まれており、それを印刷したりアプリケーション内で使用したりできます。
テクニカルライター
Curtis Chauは、カールトン大学でコンピュータサイエンスの学士号を取得し、Node.js、TypeScript、JavaScript、およびReactに精通したフロントエンド開発を専門としています。直感的で美しいユーザーインターフェースを作成することに情熱を持ち、Curtisは現代のフレームワークを用いた開発や、構造の良い視覚的に魅力的なマニュアルの作成を楽しんでいます。