IronOCR 的金融語言包支持

This article was translated from English: Does it need improvement?
Translated
View the article in English

我可以使用金融語言套件來輔助 IronOCR 讀取資料表嗎?

是的,使用財務語言包並保存為可搜尋的 PDF 文件是實現此目的的非常有效的方法。

IronOCR 金融語言包

IronOCR 金融語言包文檔

範例程式碼

// Import the IronOcr library
using IronOcr;

class Program
{
    static void Main()
    {
        // Initialize a new instance of IronTesseract
        var Ocr = new IronTesseract();

        // Set the OCR language to Financial
        Ocr.Language = OcrLanguage.Financial;

        // Using statement to ensure proper disposal of resources
        using (var input = new OcrInput())
        {
            // Add a PDF file to be processed by OCR
            input.AddPdf("TestPdf_new.pdf");

            // Optional: Add image filters if needed to improve OCR 
            // input.Deskew();    // Corrects rotation and skewing
            // input.DeNoise();   // Reduces noise and improves readability

            // Perform OCR on the input PDF
            var Result = Ocr.Read(input);

            // Extract the recognized text
            string TestResult = Result.Text;

            // Save the result as a searchable PDF using the Financial language pack
            Result.SaveAsSearchablePdf("Output_using_Financial_language_pack.pdf");
        }
    }
}
// Import the IronOcr library
using IronOcr;

class Program
{
    static void Main()
    {
        // Initialize a new instance of IronTesseract
        var Ocr = new IronTesseract();

        // Set the OCR language to Financial
        Ocr.Language = OcrLanguage.Financial;

        // Using statement to ensure proper disposal of resources
        using (var input = new OcrInput())
        {
            // Add a PDF file to be processed by OCR
            input.AddPdf("TestPdf_new.pdf");

            // Optional: Add image filters if needed to improve OCR 
            // input.Deskew();    // Corrects rotation and skewing
            // input.DeNoise();   // Reduces noise and improves readability

            // Perform OCR on the input PDF
            var Result = Ocr.Read(input);

            // Extract the recognized text
            string TestResult = Result.Text;

            // Save the result as a searchable PDF using the Financial language pack
            Result.SaveAsSearchablePdf("Output_using_Financial_language_pack.pdf");
        }
    }
}
$vbLabelText   $csharpLabel
柯蒂斯·週
技術撰稿人

Curtis Chau擁有卡爾頓大學電腦科學學士學位,專長於前端開發,精通Node.js、TypeScript、JavaScript和React。他熱衷於打造直覺美觀的使用者介面,喜歡使用現代框架,並擅長撰寫結構清晰、視覺效果出色的使用者手冊。

除了開發工作之外,柯蒂斯對物聯網 (IoT) 也抱有濃厚的興趣,致力於探索硬體和軟體整合的創新方法。閒暇時,他喜歡玩遊戲和製作 Discord 機器人,將他對科技的熱愛與創造力結合。

準備好開始了嗎?
Nuget 下載 5,299,091 | 版本: 2025.12 剛剛發布