IronOCR 語言 加拿大原住民 Canadian Aboriginal Alphabet 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 是一个 C# 软件组件,允许 .NET 程序员从图像和 PDF 文档中读取包括加拿大原住民字母在内的 126 种语言的文本。 它是一個專為 .NET 開發者設計的 Tesseract 高級分支,在速度和準確性方面經常優於其他 Tesseract 引擎。 IronOcr.Languages.CanadianAboriginal 的内容 这个包包含 103 种 .NET 的 OCR 语言: CanadianAboriginalAlphabet CanadianAboriginalAlphabetBest CanadianAboriginalAlphabetFast 下載 加拿大原住民字母语言包 style='white-space:default'>[加拿大第一民族] 下载为 Zip 使用 NuGet 安装 安裝 我们要做的第一件事是将我们的加拿大原住民字母 OCR 包安装到您的 .NET 项目中。 Install-Package IronOCR.Languages.CanadianAboriginal 代碼示例 这个 C# 代码示例读取图像或 PDF 文档中的加拿大原住民字母文本。 它使用 IronOCR 库执行光学字符识别。 // Install the IronOCR package via NuGet // PM> Install-Package IronOcr.Languages.CanadianAboriginal using IronOcr; class Program { static void Main() { // Create an instance of the IronTesseract OCR engine var Ocr = new IronTesseract(); // Set the language to Canadian Aboriginal Ocr.Language = OcrLanguage.CanadianAboriginal; // Provide the path to the image or PDF for OCR processing using (var Input = new OcrInput(@"images\CanadianAboriginal.png")) { // Perform OCR on the input file var Result = Ocr.Read(Input); // Extract all recognized text var AllText = Result.Text; // Output the recognized text Console.WriteLine(AllText); } } } // Install the IronOCR package via NuGet // PM> Install-Package IronOcr.Languages.CanadianAboriginal using IronOcr; class Program { static void Main() { // Create an instance of the IronTesseract OCR engine var Ocr = new IronTesseract(); // Set the language to Canadian Aboriginal Ocr.Language = OcrLanguage.CanadianAboriginal; // Provide the path to the image or PDF for OCR processing using (var Input = new OcrInput(@"images\CanadianAboriginal.png")) { // Perform OCR on the input file var Result = Ocr.Read(Input); // Extract all recognized text var AllText = Result.Text; // Output the recognized text Console.WriteLine(AllText); } } } ' Install the IronOCR package via NuGet ' PM> Install-Package IronOcr.Languages.CanadianAboriginal Imports IronOcr Friend Class Program Shared Sub Main() ' Create an instance of the IronTesseract OCR engine Dim Ocr = New IronTesseract() ' Set the language to Canadian Aboriginal Ocr.Language = OcrLanguage.CanadianAboriginal ' Provide the path to the image or PDF for OCR processing Using Input = New OcrInput("images\CanadianAboriginal.png") ' Perform OCR on the input file Dim Result = Ocr.Read(Input) ' Extract all recognized text Dim AllText = Result.Text ' Output the recognized text Console.WriteLine(AllText) End Using End Sub End Class $vbLabelText $csharpLabel 上述代码使用 IronOcr.IronTesseract 类来执行 OCR。 它设置 OcrLanguage.CanadianAboriginal 来指定加拿大原住民文字的语言模型。 OcrInput 对象加载路径中指定的图像。 Ocr.Read 方法处理图像并返回识别到的文本。 最后,提取的文本将打印到控制台。