IronOCR 語言 敘利亞文 Syriac OCR in C# and .NET Curtis Chau 更新:2026年2月10日 下載 IronOCR NuGet 下載 DLL 下載 Windows 安裝程式 開始免費試用 LLM副本 LLM副本 將頁面複製為 Markdown 格式,用於 LLMs 在 ChatGPT 中打開 請向 ChatGPT 諮詢此頁面 在雙子座打開 請向 Gemini 詢問此頁面 在 Grok 中打開 向 Grok 詢問此頁面 打開困惑 向 Perplexity 詢問有關此頁面的信息 分享 在 Facebook 上分享 分享到 X(Twitter) 在 LinkedIn 上分享 複製連結 電子郵件文章 This article was translated from English: Does it need improvement? Translated View the article in English 還有126種語言 IronOCR是一個 C# 軟體元件,允許.NET設計師從圖像和 PDF 文件中讀取 126 種語言(包括敘利亞)的文字。 它是 Tesseract 的一個高級分支,專為.NET開發人員構建,在速度和準確性方面通常優於其他 Tesseract 引擎。 IronOCR的內容。語言。敘利亞語 此軟體包包含 108 種適用於.NET的 OCR 語言: 敘利亞語 敘利亞語Best 敘利亞語Fast 敘利亞字母 敘利亞字母表最佳 敘利亞字母表快速 下載 敘利亞語語言包 [敘利亞語] 下載為Zip 檔案 安裝 Install-Package IronOcr.Languages.Syriac 程式碼範例 這段 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 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); } } } $vbLabelText $csharpLabel 在這個例子中: 我們建立 IronTesseract 實例來處理 OCR。 將 Ocr.Language 設定為 Syriac,以確保對該語言進行準確的文字辨識。 我們將包含敘利亞文字的圖像載入到 OcrInput 中,並使用 Ocr.Read 對其進行處理。 然後,識別出的文字儲存在 Result.Text 中,可以在您的應用程式中進一步使用。