IronOCR 語言 附加 OCR 語言包 Curtis Chau 更新:8月 24, 2025 下載 IronOCR NuGet 下載 DLL 下載 Windows 安裝程式 開始免費試用 法學碩士副本 法學碩士副本 將頁面複製為 Markdown 格式,用於 LLMs 在 ChatGPT 中打開 請向 ChatGPT 諮詢此頁面 在雙子座打開 請向 Gemini 詢問此頁面 在雙子座打開 請向 Gemini 詢問此頁面 打開困惑 向 Perplexity 詢問有關此頁面的信息 分享 在 Facebook 上分享 分享到 X(Twitter) 在 LinkedIn 上分享 複製連結 電子郵件文章 This article was translated from English: Does it need improvement? Translated View the article in English IronOCR 支援 125 種國際語言,但 IronOCR 預設只安裝了英語。 可以透過 NuGet 或 DLL 檔案輕鬆地將其他語言套件新增至您的 C#、VB 或ASP.NET專案中,下載這些 DLL 檔案並將其新增為專案參考。 程式碼範例 國際語言範例 Install-Package IronOcr.Languages.ChineseSimplified using IronOcr; var ocr = new IronTesseract(); // Set the OCR to use Chinese Simplified ocr.Language = OcrLanguage.ChineseSimplified; using (var input = new OcrInput()) { // Add an image to be processed input.AddImage("img/chinese.gif"); // Optional: Enhance the input by deskewing or denoising the image // input.Deskew(); // input.DeNoise(); // Process the image and retrieve the result var result = ocr.Read(input); // Store the recognized text in a string string testResult = result.Text; // Save the recognized text to a file since the console might not display Unicode characters properly result.SaveAsTextFile("chinese.txt"); } using IronOcr; var ocr = new IronTesseract(); // Set the OCR to use Chinese Simplified ocr.Language = OcrLanguage.ChineseSimplified; using (var input = new OcrInput()) { // Add an image to be processed input.AddImage("img/chinese.gif"); // Optional: Enhance the input by deskewing or denoising the image // input.Deskew(); // input.DeNoise(); // Process the image and retrieve the result var result = ocr.Read(input); // Store the recognized text in a string string testResult = result.Text; // Save the recognized text to a file since the console might not display Unicode characters properly result.SaveAsTextFile("chinese.txt"); } Imports IronOcr Private ocr = New IronTesseract() ' Set the OCR to use Chinese Simplified ocr.Language = OcrLanguage.ChineseSimplified Using input = New OcrInput() ' Add an image to be processed input.AddImage("img/chinese.gif") ' Optional: Enhance the input by deskewing or denoising the image ' input.Deskew(); ' input.DeNoise(); ' Process the image and retrieve the result Dim result = ocr.Read(input) ' Store the recognized text in a string Dim testResult As String = result.Text ' Save the recognized text to a file since the console might not display Unicode characters properly result.SaveAsTextFile("chinese.txt") End Using $vbLabelText $csharpLabel 豎式書寫語言範例 專為豎立語言設計的字典。 使用韓語和日語 OCR 語言的"垂直"變體。 using IronOcr; var ocr = new IronTesseract(); // Set the OCR to use Japanese Vertical language ocr.Language = OcrLanguage.JapaneseVertical; using (var input = new OcrInput(@"images\image.png")) { // Process the image and get the OCR result var result = ocr.Read(input); // Output the recognized text to the console Console.WriteLine(result.Text); } using IronOcr; var ocr = new IronTesseract(); // Set the OCR to use Japanese Vertical language ocr.Language = OcrLanguage.JapaneseVertical; using (var input = new OcrInput(@"images\image.png")) { // Process the image and get the OCR result var result = ocr.Read(input); // Output the recognized text to the console Console.WriteLine(result.Text); } Imports IronOcr Private ocr = New IronTesseract() ' Set the OCR to use Japanese Vertical language ocr.Language = OcrLanguage.JapaneseVertical Using input = New OcrInput("images\image.png") ' Process the image and get the OCR result Dim result = ocr.Read(input) ' Output the recognized text to the console Console.WriteLine(result.Text) End Using $vbLabelText $csharpLabel 自訂語言範例 適用於您下載或自行訓練的任何 Tesseract .traineddata 語言檔案。 using IronOcr; var ocr = new IronTesseract(); // Use a custom Tesseract language file ocr.UseCustomTesseractLanguageFile("custom_tesseract_files/custom.traineddata"); using (var input = new OcrInput(@"images\image.png")) { // Process the image and get the OCR result var result = ocr.Read(input); // Output the recognized text to the console Console.WriteLine(result.Text); } using IronOcr; var ocr = new IronTesseract(); // Use a custom Tesseract language file ocr.UseCustomTesseractLanguageFile("custom_tesseract_files/custom.traineddata"); using (var input = new OcrInput(@"images\image.png")) { // Process the image and get the OCR result var result = ocr.Read(input); // Output the recognized text to the console Console.WriteLine(result.Text); } Imports IronOcr Private ocr = New IronTesseract() ' Use a custom Tesseract language file ocr.UseCustomTesseractLanguageFile("custom_tesseract_files/custom.traineddata") Using input = New OcrInput("images\image.png") ' Process the image and get the OCR result Dim result = ocr.Read(input) ' Output the recognized text to the console Console.WriteLine(result.Text) End Using $vbLabelText $csharpLabel 多語言範例 同時學習多種語言。 Install-Package IronOcr.Languages.Arabic using IronOcr; var ocr = new IronTesseract(); // Set the primary language to English ocr.Language = OcrLanguage.English; // Add Arabic as a secondary language ocr.AddSecondaryLanguage(OcrLanguage.Arabic); // Add any number of languages using (var input = new OcrInput(@"images\multi-lang.pdf")) { // Process the PDF and get the OCR result var result = ocr.Read(input); // Output the recognized text to the console Console.WriteLine(result.Text); } using IronOcr; var ocr = new IronTesseract(); // Set the primary language to English ocr.Language = OcrLanguage.English; // Add Arabic as a secondary language ocr.AddSecondaryLanguage(OcrLanguage.Arabic); // Add any number of languages using (var input = new OcrInput(@"images\multi-lang.pdf")) { // Process the PDF and get the OCR result var result = ocr.Read(input); // Output the recognized text to the console Console.WriteLine(result.Text); } Imports IronOcr Private ocr = New IronTesseract() ' Set the primary language to English ocr.Language = OcrLanguage.English ' Add Arabic as a secondary language ocr.AddSecondaryLanguage(OcrLanguage.Arabic) ' Add any number of languages Using input = New OcrInput("images\multi-lang.pdf") ' Process the PDF and get the OCR result Dim result = ocr.Read(input) ' Output the recognized text to the console Console.WriteLine(result.Text) End Using $vbLabelText $csharpLabel 更快的語言範例 專為快速使用而設計的字典。 使用任何 OcrLanguage 的"快速"版本。 using IronOcr; var ocr = new IronTesseract(); // Set the OCR to use the fast variant of English ocr.Language = OcrLanguage.EnglishFast; using (var input = new OcrInput(@"images\image.png")) { // Process the image and get the OCR result var result = ocr.Read(input); // Output the recognized text to the console Console.WriteLine(result.Text); } using IronOcr; var ocr = new IronTesseract(); // Set the OCR to use the fast variant of English ocr.Language = OcrLanguage.EnglishFast; using (var input = new OcrInput(@"images\image.png")) { // Process the image and get the OCR result var result = ocr.Read(input); // Output the recognized text to the console Console.WriteLine(result.Text); } Imports IronOcr Private ocr = New IronTesseract() ' Set the OCR to use the fast variant of English ocr.Language = OcrLanguage.EnglishFast Using input = New OcrInput("images\image.png") ' Process the image and get the OCR result Dim result = ocr.Read(input) ' Output the recognized text to the console Console.WriteLine(result.Text) End Using $vbLabelText $csharpLabel 更高精度的詳細語言範例 字典經過優化,準確性更高,但檢索速度較慢。 使用任何 OcrLanguage 的"最佳"版本。 Install-Package IronOcr.Languages.French using IronOcr; var ocr = new IronTesseract(); // Set the OCR to use the best variant of French ocr.Language = OcrLanguage.FrenchBest; using (var input = new OcrInput(@"images\image.png")) { // Process the image and get the OCR result var result = ocr.Read(input); // Output the recognized text to the console Console.WriteLine(result.Text); } using IronOcr; var ocr = new IronTesseract(); // Set the OCR to use the best variant of French ocr.Language = OcrLanguage.FrenchBest; using (var input = new OcrInput(@"images\image.png")) { // Process the image and get the OCR result var result = ocr.Read(input); // Output the recognized text to the console Console.WriteLine(result.Text); } Imports IronOcr Private ocr = New IronTesseract() ' Set the OCR to use the best variant of French ocr.Language = OcrLanguage.FrenchBest Using input = New OcrInput("images\image.png") ' Process the image and get the OCR result Dim result = ocr.Read(input) ' Output the recognized text to the console Console.WriteLine(result.Text) End Using $vbLabelText $csharpLabel 如何安裝OCR語言包 其他 OCR 語言包可供下載,詳情請見下方。 任何一個 安裝 NuGet 套件。 在 NuGet 上搜尋 IronOcr 語言。 或下載"ocrdata"文件,並將其新增至您 .NET 專案中任意資料夾下。設定CopyToOutputDirectory = CopyIfNewer 下載 OCR 語言包 Afrikaans Language Pack Afrikaans Zip NuGet Albanian Language Pack gjuha shqipe Zip NuGet Amharic Language Pack አማርኛ Zip NuGet Ancient Greek Language Pack Ἑλληνική Zip NuGet Arabic Language Pack العربية Zip NuGet Armenian Language Pack Հայերեն Zip NuGet Assamese Language Pack অসমীযা Zip NuGet Azerbaijani Language Pack azərbaycan dili Zip NuGet Basque Language Pack euskara Zip NuGet Belarusian Language Pack беларуская мова Zip NuGet Bengali Language Pack Bangla Zip NuGet Bosnian Language Pack bosanski jezik Zip NuGet Breton Language Pack brezhoneg Zip NuGet Bulgarian Language Pack български език Zip NuGet Canadian Aboriginal Alphabet Language Pack Canadian First Nations Zip NuGet Catalan Language Pack català Zip NuGet Cebuano Language Pack Bisaya Zip NuGet Cherokee Language Pack ᏣᎳᎩ ᎦᏬᏂᎯᏍᏗ Zip NuGet Chinese Simplified Language Pack 中文 (Zhōngwén) Zip NuGet Corsican Language Pack corsu Zip NuGet Croatian Language Pack hrvatski jezik Zip NuGet Cyrillic Language Pack Cyrillic scripts Zip NuGet Czech Language Pack čeština Zip NuGet Danish Language Pack dansk Zip NuGet Devanagari Language Pack Nagair Zip NuGet Divehi Language Pack ދވހ Zip NuGet Dutch Language Pack Nederlands Zip NuGet Dzongkha Language Pack རང་ཁ Zip NuGet Esperanto Language Pack Esperanto Zip NuGet Estonian Language Pack eesti Zip NuGet Ethiopic Alphabet Language Pack Ge'ez Zip NuGet Faroese Language Pack føroyskt Zip NuGet Filipino Language Pack The Philippines Zip NuGet Financial Language Pack Spreadsheets & Numbers Zip NuGet Finnish Language Pack suomi Zip NuGet Fraktur Language Pack Generic Fraktur Zip NuGet Frankish Language Pack Frenkisk Zip NuGet French Language Pack français Zip NuGet Galician Language Pack galego Zip NuGet Georgian Language Pack ქართული Zip NuGet German Language Pack Deutsch Zip NuGet Greek Language Pack ελληνικά Zip NuGet Gujarati Language Pack ગજરાતી Zip NuGet Gurmukhi Alphabet Language Pack Gurmukhī Zip NuGet Haitian Language Pack Kreyòl ayisyen Zip NuGet Han Simplified Alphabet Language Pack Samhan Zip NuGet Hangul Language Pack Hangul Alphabet Zip NuGet Hebrew Language Pack עברית Zip NuGet Hindi Language Pack हिनदी Zip NuGet Hungarian Language Pack magyar Zip NuGet Icelandic Language Pack Íslenska Zip NuGet Indonesian Language Pack Bahasa Indonesia Zip NuGet Inuktitut Language Pack ᐃᓄᒃᑎᑐᑦ Zip NuGet Irish Language Pack Gaeilge Zip NuGet Italian Language Pack italiano Zip NuGet Japanese Language Pack 日本語 (にほんご) Zip NuGet Javanese Language Pack basa Jawa Zip NuGet Kannada Language Pack ಕನನಡ Zip NuGet Kazakh Language Pack қазақ тілі Zip NuGet Khmer Language Pack ខមែរ Zip NuGet Korean Language Pack 한국어 (韓國語) Zip NuGet Kyrgyz Language Pack Кыргызча Zip NuGet Lao Language Pack ພາສາລາວ Zip NuGet Latin Language Pack latine Zip NuGet Latin Alphabet Language Pack latine Zip NuGet Latvian Language Pack latviešu valoda Zip NuGet Lithuanian Language Pack lietuvių kalba Zip NuGet Luxembourgish Language Pack Lëtzebuergesch Zip NuGet Macedonian Language Pack македонски јазик Zip NuGet Malay Language Pack bahasa Melayu Zip NuGet Malayalam Language Pack മലയാളം Zip NuGet Maltese Language Pack Malti Zip NuGet Maori Language Pack te reo Māori Zip NuGet Marathi Language Pack मराठी Zip NuGet MICR Language Pack Magnetic Ink Character Recognition Zip NuGet Middle English Language Pack English (1100-1500 AD) Zip NuGet Middle French Language Pack Moyen Français Zip NuGet Mongolian Language Pack монгол Zip NuGet Myanmar Language Pack Burmese Zip NuGet Nepali Language Pack नपाली Zip NuGet Northern Kurdish Language Pack Kurmanji Zip NuGet Norwegian Language Pack Norsk Zip NuGet Occitan Language Pack occitan Zip NuGet Oriya Language Pack ଓଡଆ Zip NuGet Panjabi Language Pack ਪਜਾਬੀ Zip NuGet Pashto Language Pack پښتو Zip NuGet Persian Language Pack فارسی Zip NuGet Polish Language Pack język polski Zip NuGet Portuguese Language Pack português Zip NuGet Quechua Language Pack Runa Simi Zip NuGet Romanian Language Pack limba română Zip NuGet Russian Language Pack русский язык Zip NuGet Sanskrit Language Pack ससकतम Zip NuGet Scottish Gaelic Language Pack Gàidhlig Zip NuGet Serbian Language Pack српски језик Zip NuGet Sindhi Language Pack सिनधी Zip NuGet Sinhala Language Pack සංහල Zip NuGet Slovak Language Pack slovenčina Zip NuGet Slovene Language Pack slovenski jezik Zip NuGet Spanish Language Pack español Zip NuGet Sundanese Language Pack Basa Sunda Zip NuGet Swahili Language Pack Kiswahili Zip NuGet Swedish Language Pack Svenska Zip NuGet Syriac Language Pack Syrian Zip NuGet Tagalog Language Pack Wikang Tagalog Zip NuGet Tajik Language Pack тоҷикӣ Zip NuGet Tamil Language Pack தமிழ Zip NuGet Tatar Language Pack татар теле Zip NuGet Telugu Language Pack తలుగు Zip NuGet Thaana Alphabet Language Pack Taana Zip NuGet Thai Language Pack ไทย Zip NuGet Tibetan Language Pack Tibetan Standard Zip NuGet Tigrinya Language Pack ትግርኛ Zip NuGet Tonga Language Pack faka Tonga Zip NuGet Turkish Language Pack Türkçe Zip NuGet Ukrainian Language Pack українська мова Zip NuGet Urdu Language Pack اردو Zip NuGet Uyghur Language Pack Uyƣurqə Zip NuGet Uzbek Language Pack O‘zbek Zip NuGet Vietnamese Language Pack Tiếng Việt Zip NuGet Welsh Language Pack Cymraeg Zip NuGet Western Frisian Language Pack Frysk Zip NuGet Yiddish Language Pack יידיש Zip NuGet Yoruba Language Pack Yorùbá Zip NuGet 幫助 如果您想閱讀的語言不在以上清單中,請與我們聯絡。 如有需要,我們也提供其他多種語言版本。 生產資源優先分配給 IronOCR 授權用戶,因此請考慮購買 IronOCR授權以取得您所需的語言包。