A computer program product for detecting tables and/or tabular data arrangements within an original image, the computer program product comprising a computer readable medium having program instructions embodied therewith, wherein the program instructions are configured to cause a processor, upon execution thereof, to perform a method comprising:
- pre-processing the original image to generate processed image data, wherein pre-processing the original image comprises identifying one or more delineating lines depicted in the original image, wherein identifying the one or more delineating lines comprises:
- obtaining a third set of rules defining criteria of delineating lines;
- evaluating the original image against the third set of rules;
- and
- generating a set of delineating lines based on the evaluation;
- and
- detecting one or more tables and/or one or more tabular data arrangements within the processed image data.