IronOCR的財務語言包支援

Curtis Chau
Curtis Chau
Updated: 2026年6月29日

我可以使用財務語言包來協助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");
        }
    }
}

Curtis Chau擁有Carleton大學的電腦科學學士學位,專精於前端開發,擁有Node.js、TypeScript、JavaScript和React的專業知識。Curtis熱衷於建立直觀且美觀的使用者介面,喜愛使用現代框架並建立結構良好、視覺吸引力的手冊。

閱讀更多

準備開始了嗎?

Nuget Downloads 6,357,159版本:2026.11剛剛發布