IronOCR 語言 冰岛文 Icelandic OCR in C# and .NET Curtis Chau 更新日期:7月 22, 2025 Download IronOCR NuGet 下載 DLL 下載 Windows 安裝程式 Start Free Trial Copy for LLMs Copy for LLMs Copy page as Markdown for LLMs Open in ChatGPT Ask ChatGPT about this page Open in Gemini Ask Gemini about this page Open in Grok Ask Grok about this page Open in Perplexity Ask Perplexity about this page Share Share on Facebook Share on X (Twitter) Share on LinkedIn Copy URL Email article This article was translated from English: Does it need improvement? Translated View the article in English Other versions of this document: Á íslensku 其他125種OCR語言 IronOCR 是一个 C# 软件组件,允许 .NET 编码人员从图像和 PDF 文档中读取包括冰岛语在内的 126 种语言的文本。 它是Tesseract的一個高級分支,專為.NET開發人員構建,並在速度和準確性上經常超越其他Tesseract引擎。 IronOcr.Languages.Icelandic 的内容 此套件包含 52 種 .NET 的 OCR 語言: Iceandleasek IcelandicBest IcelandicFast 下載 冰岛语语言包 style='white-space:default'>[Íslenska] 下载为 Zip 使用 NuGet 安装 安裝 我们必须做的第一件事是将 冰岛语 OCR 包安装到您的 .NET 项目中。 Install-Package IronOCR.Languages.Icelandic 代碼示例 此 C# 代码示例从图像或 PDF 文档中读取冰岛文字。 using IronOcr; class Program { static void Main() { // Create an instance of the IronTesseract OCR engine var Ocr = new IronTesseract(); // Set the language to Icelandic Ocr.Language = OcrLanguage.Icelandic; // Load the image or PDF file to be processed using (var Input = new OcrInput(@"images\Icelandic.png")) { // Perform OCR on the input file var Result = Ocr.Read(Input); // Extract all recognized text from the result var AllText = Result.Text; // Print the extracted text to the console System.Console.WriteLine(AllText); } } } using IronOcr; class Program { static void Main() { // Create an instance of the IronTesseract OCR engine var Ocr = new IronTesseract(); // Set the language to Icelandic Ocr.Language = OcrLanguage.Icelandic; // Load the image or PDF file to be processed using (var Input = new OcrInput(@"images\Icelandic.png")) { // Perform OCR on the input file var Result = Ocr.Read(Input); // Extract all recognized text from the result var AllText = Result.Text; // Print the extracted text to the console System.Console.WriteLine(AllText); } } } Imports IronOcr Friend Class Program Shared Sub Main() ' Create an instance of the IronTesseract OCR engine Dim Ocr = New IronTesseract() ' Set the language to Icelandic Ocr.Language = OcrLanguage.Icelandic ' Load the image or PDF file to be processed Using Input = New OcrInput("images\Icelandic.png") ' Perform OCR on the input file Dim Result = Ocr.Read(Input) ' Extract all recognized text from the result Dim AllText = Result.Text ' Print the extracted text to the console System.Console.WriteLine(AllText) End Using End Sub End Class $vbLabelText $csharpLabel 解釋 IronTesseract 类是 IronOcr 库的一部分,设计用于执行 OCR 操作。 Ocr.Language = OcrLanguage.Icelandic; 设置 OCR 语言为冰岛语。 OcrInput 接收输入文件的路径(图像或 PDF)并为处理做好准备。 Ocr.Read(Input) 处理输入文件并返回 OCR 结果。 Result.Text 从处理过的输入中检索所有识别的文本。 确保在您的 .NET 项目中安装了 IronOCR 库及其冰岛语语言包,以成功运行此示例。