Ask Your Question
0

How to complete table border lines with OpenCV?

asked 2019-03-20 17:41:38 -0600

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!

edit retag flag offensive close merge delete

Comments

sturkmen gravatar imagesturkmen ( 2019-03-21 01:56:50 -0600 )edit

wow. Thanks! I will check it out. Btw, are there any python version for the application?

kzhoulatte gravatar imagekzhoulatte ( 2019-03-21 02:02:35 -0600 )edit
sturkmen gravatar imagesturkmen ( 2019-03-21 02:49:35 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-03-21 17:29:41 -0600

updated 2019-03-21 17:30:16 -0600

Thx for the help! That is actually what I did to get the border as I attached. I still can only get the incomplete table border because of the poor quality of scanned table. Do you know how could I detect the lines and extend the lines to get all joints of table? so I could compare to a template table to reconstruct the table? Thanks.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-03-20 17:41:38 -0600

Seen: 2,291 times

Last updated: Mar 20 '19