I have images such as the one attached below. I need to extract the data within the grid along with the tabular structure and transform it into a dataframe/csv.
I am using OCR to extract the text along with the coordinates but in order to extract the table structure I would like to extract the horizontal and vertical grid lines.
Is there a method in OpenCV to do that that would generalize well ?
So far the approaches I've come across are : 1. Hough Lines 2. Extracting Rectangular contours 3. Drawing vertical and horizonal contours
