IronOCR 語言 法羅語 Faroese 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 另外 126 種語言 IronOCR是一個允許.NET程式設計師從圖像和PDF文件中以126種語言(包括法羅語)讀取文本的C#軟體元件。 它是 Tesseract 的高級分支,專為 .NET 開發者而建造,並且在速度和精度上經常優於其他 Tesseract 引擎。 IronOcr.Languages.Faroese的內容 此套件包含 .NET 的46種 OCR 語言: 法羅語 法羅語Best 法羅語Fast 下載 法羅語語言包 style='white-space:default'>[føroyskt] 以Zip 下載 透過NuGet 安裝 安裝 首先要做的是將法羅語OCR封包安裝到你的.NET專案中: Install-Package IronOCR.Languages.Faroese 代碼示例 此C#代碼範例從圖像或PDF文件中讀取法羅語文本。 // Import the IronOcr namespace using IronOcr; class Program { static void Main() { // Create a new instance of IronTesseract var Ocr = new IronTesseract(); // Specify the language to use for OCR // In this case, we're using Faroese Ocr.Language = OcrLanguage.Faroese; // Use a using statement for automatic resource management using (var Input = new OcrInput(@"images\Faroese.png")) { // Perform OCR on the input image var Result = Ocr.Read(Input); // Extract the recognized text var AllText = Result.Text; // Print the extracted text to console Console.WriteLine(AllText); } } } // Import the IronOcr namespace using IronOcr; class Program { static void Main() { // Create a new instance of IronTesseract var Ocr = new IronTesseract(); // Specify the language to use for OCR // In this case, we're using Faroese Ocr.Language = OcrLanguage.Faroese; // Use a using statement for automatic resource management using (var Input = new OcrInput(@"images\Faroese.png")) { // Perform OCR on the input image var Result = Ocr.Read(Input); // Extract the recognized text var AllText = Result.Text; // Print the extracted text to console Console.WriteLine(AllText); } } } ' Import the IronOcr namespace Imports IronOcr Friend Class Program Shared Sub Main() ' Create a new instance of IronTesseract Dim Ocr = New IronTesseract() ' Specify the language to use for OCR ' In this case, we're using Faroese Ocr.Language = OcrLanguage.Faroese ' Use a using statement for automatic resource management Using Input = New OcrInput("images\Faroese.png") ' Perform OCR on the input image Dim Result = Ocr.Read(Input) ' Extract the recognized text Dim AllText = Result.Text ' Print the extracted text to console Console.WriteLine(AllText) End Using End Sub End Class $vbLabelText $csharpLabel IronTesseract:此物件作為核心OCR引擎。 Ocr.Language:將OCR設置為法羅語。 確保法羅語語言包已安裝。 OcrInput:提供給OCR的輸入檔(圖像或PDF)。 Ocr.Read:處理輸入並生成OCR結果。 Result.Text:從OCR操作中提取文本信息。