Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do you have stream + only vertical lines seperation? #490

Open
Erenaliaslangiray opened this issue Oct 3, 2022 · 0 comments
Open

Do you have stream + only vertical lines seperation? #490

Erenaliaslangiray opened this issue Oct 3, 2022 · 0 comments

Comments

@Erenaliaslangiray
Copy link

Hello,

I am working with a pdf which I can not share due to confidentiality, however my question and issue is very simple. The pdf format is what we call "stream" BUT with vertical tabular lines between each column. So in the end I dont have row-lines but have column-lines.

When I use camelot like this:
camelot.read_pdf('mypdf.pdf', flavor="stream", pages="all", split_text=True)

since my 2 columns are very close to each other (but seperated with the line I mentioned) camelot merges these two columns even I use split_text = True. Is there a harmonic method available for me to use "stream" but with appying vertial -OR- horizontal line avareness to the conversion.

I know that I can use manual-inputted column cut point coordinate with "split" parameter but all my pdf files arrives with different split coordination so I can not hardcode some points. All I have in common is these vertical column seperator lines.

Do you have a built-in solution for solving these kind of problems? If not, do you have a plan to add it in upcoming releases?

Best.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant