C# および .NET でのエスペラント語 OCR
Curtis Chau
更新日:
この文書の別バージョン
IronOCR は、.NET 開発者が画像や PDF 文書からエスペラント語を含む 126 言語のテキストを読み取るための C# ソフトウェアコンポーネントです。
IronOCR は、.NET 開発者専用に開発された Tesseract の高度なフォークで、速度と精度の両面で他の Tesseract エンジンを上回ることが多いです。
IronOcr.Languages.Esperanto の内容
このパッケージには、.NET 用の 52 の OCR 言語が含まれています。
- Esperanto
- EsperantoBest
- EsperantoFast
ダウンロード
エスペラント語パック [エスペラント語]
インストール
まず、Esperanto OCR パッケージを .NET プロジェクトにインストールします。
コード例
この C# コード例は、画像または PDF 文書からエスペラント語のテキストを読み取ります。
// This example demonstrates how to perform OCR on an image file using the IronOCR library with Esperanto language support.
using IronOcr;
var Ocr = new IronTesseract
{
Language = OcrLanguage.Esperanto // Specify the OCR language as Esperanto
};
using (var Input = new OcrInput(@"images\Esperanto.png")) // Load an image from the file path
{
var Result = Ocr.Read(Input); // Perform OCR to read the text from the image
var AllText = Result.Text; // Extract the recognized text from the result
// You can now use AllText for further processing
}' This example demonstrates how to perform OCR on an image file using the IronOCR library with Esperanto language support.
Imports IronOcr
Private Ocr = New IronTesseract With {.Language = OcrLanguage.Esperanto}
Using Input = New OcrInput("images\Esperanto.png") ' Load an image from the file path
Dim Result = Ocr.Read(Input) ' Perform OCR to read the text from the image
Dim AllText = Result.Text ' Extract the recognized text from the result
' You can now use AllText for further processing
End Using' This example demonstrates how to perform OCR on an image file using the IronOCR library with Esperanto language support.
Imports IronOcr
Private Ocr = New IronTesseract With {.Language = OcrLanguage.Esperanto}
Using Input = New OcrInput("images\Esperanto.png") ' Load an image from the file path
Dim Result = Ocr.Read(Input) ' Perform OCR to read the text from the image
Dim AllText = Result.Text ' Extract the recognized text from the result
' You can now use AllText for further processing
End Usingテクニカルライター
Curtis Chauは、カールトン大学でコンピュータサイエンスの学士号を取得し、Node.js、TypeScript、JavaScript、およびReactに精通したフロントエンド開発を専門としています。直感的で美しいユーザーインターフェースを作成することに情熱を持ち、Curtisは現代のフレームワークを用いた開発や、構造の良い視覚的に魅力的なマニュアルの作成を楽しんでいます。