IronOCR 语言 缅甸 Myanmar OCR in C# and .NET Curtis Chau 已更新:2026年1月31日 下载 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.Languages.Myanmar 的内容 此软件包包含对缅甸特有的 114 种语言的 OCR 支持: MyanmarBest MyanmarFast MyanmarFast MyanmarAlphabetBest MyanmarAlphabetBest MyanmarAlphabetFast 下载 缅甸语语言包[缅甸语] 下载为Zip 文件 使用NuGet安装 安装 首先,通过 NuGet 将Myanmar OCR 包安装到您的 .NET 项目中: Install-Package IronOcr.Languages.Myanmar 代码示例 此 C# 代码示例从图像或 PDF 文档中读取缅甸语文本。 // Import the IronOcr namespace using IronOcr; class Program { static void Main() { // Initialize the IronTesseract OCR engine var Ocr = new IronTesseract(); // Set the OCR language to Myanmar Ocr.Language = OcrLanguage.Myanmar; // Define input source - image or PDF containing Myanmar text using (var Input = new OcrInput(@"images\Myanmar.png")) { // Perform OCR on the input and obtain the result var Result = Ocr.Read(Input); // Extract the recognized text from the OCR result var AllText = Result.Text; // Output the recognized Myanmar text Console.WriteLine(AllText); } } } // Import the IronOcr namespace using IronOcr; class Program { static void Main() { // Initialize the IronTesseract OCR engine var Ocr = new IronTesseract(); // Set the OCR language to Myanmar Ocr.Language = OcrLanguage.Myanmar; // Define input source - image or PDF containing Myanmar text using (var Input = new OcrInput(@"images\Myanmar.png")) { // Perform OCR on the input and obtain the result var Result = Ocr.Read(Input); // Extract the recognized text from the OCR result var AllText = Result.Text; // Output the recognized Myanmar text Console.WriteLine(AllText); } } } $vbLabelText $csharpLabel 解释 IronTesseract :这是 IronOCR 库提供的主要类,用于处理 OCR 任务。 Ocr.Language :设置 OCR 的语言; 此示例设置为 OcrLanguage.Myanmar。 OcrInput :用于指定输入源,可以是图像或 PDF 文件。 Ocr.Read :执行 OCR 过程并返回一个 OcrResult 对象。 Result.Text :包含从图像或 PDF 文档中提取的文本。