Consider the LEADTOOLS Toolkit (https://www.leadtools.com/sdk/forms/invoice) which has features for the detection and extraction of text and numerical information from tabular forms with variable rows and columns.
You can see a video overview of these features here:
https://www.leadtools.com/videos/playvideo?id=25
The code for creating master form would look something like this:
Once you have a master form for the PDF with tables, you can perform recognition using code like the one described here: https://www.leadtools.com/help/leadtools/v19m/dh/to/fr-topics-programmingwithleadtoolsformsrecognitionprocessingengine.html
Ramesh PalanivelRank #372 · 6.8K reputationPosted Mar 30, 2017, 6:46 AM EDT
Hussam BarouqaRank #6,374 · 268 reputationPosted Apr 6, 2017, 8:11 AM EDT
FormPage formPage = new FormPage(1, 300, 300);
TableFormField tableField = new TableFormField();
tableField.Rules = TableRules.RowsLineSeparator;
// Create Columns
TextFormField column1 = new TextFormField();
column1.Name = "Status";
column1.Bounds = new LogicalRectangle(UpperLeftCornerX, UpperLeftCornerY, Width, Height, LogicalUnit.Pixel);
tableField.Columns.Add(new TableColumn(column1));
TextFormField column2 = new TextFormField();
column2.Name = "Panel Date";
column2.Bounds = new LogicalRectangle(UpperLeftCornerX, UpperLeftCornerY, Width, Height, LogicalUnit.Pixel);
tableField.Columns.Add(new TableColumn(column2));
// …
// Do For all Columns
formPage.Add(tableField);
//Add the page to the engine
processingEngine.Pages.Add(formPage);
Once you have a master form for the PDF with tables, you can perform recognition using code like the one described here:
https://www.leadtools.com/help/leadtools/v19m/dh/to/fr-topics-programmingwithleadtoolsformsrecognitionprocessingengine.html
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts