IronOCR 財務語言包支援
This article was translated from English: Does it need improvement?
TranslatedView the article in English
我可以使用財務語言包來協助在IronOCR中讀取數據表嗎?
是的,使用財經語言包並保存為可搜尋的PDF文件可以是實現此目的的非常有效手段。
IronOCR 財經語言包
https://ironsoftware.com/csharp/ocr/languages/financial/
範例程式碼
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Financial;
using (var input = new OcrInput())
{
input.AddPdf("TestPdf_new.pdf");
// Add image filters if needed
// Input.Deskew();
// Input.DeNoise();
var Result = Ocr.Read(input);
string TestResult = Result.Text;
Result.SaveAsSearchablePdf("Output using Financial language pack.pdf");
}
var Ocr = new IronTesseract();
Ocr.Language = OcrLanguage.Financial;
using (var input = new OcrInput())
{
input.AddPdf("TestPdf_new.pdf");
// Add image filters if needed
// Input.Deskew();
// Input.DeNoise();
var Result = Ocr.Read(input);
string TestResult = Result.Text;
Result.SaveAsSearchablePdf("Output using Financial language pack.pdf");
}
Dim Ocr = New IronTesseract()
Ocr.Language = OcrLanguage.Financial
Using input = New OcrInput()
input.AddPdf("TestPdf_new.pdf")
' Add image filters if needed
' Input.Deskew();
' Input.DeNoise();
Dim Result = Ocr.Read(input)
Dim TestResult As String = Result.Text
Result.SaveAsSearchablePdf("Output using Financial language pack.pdf")
End Using
VB C#