金融语言包
我能否使用财务语言包来帮助阅读 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