Ask Your Question

Revision history [back]

How to complete table border lines with OpenCV?

Hi here,

I am working on extracting table border from PDF files. As below is the raw table border I extracted. You can tell, because of the missing part in tables, there are some missing parts in the extracted borders.

extracted table border lines

With OpenCV, is there a way to complete the table border lines with Hough lines transform etc. ? The lines could be infinity long, because I am more interested in the crossing points so I can reconstruct the table later with reference to some template tables.

Thanks in advance!