Skip to content

Conversation

@lolipopshock
Copy link
Member

@lolipopshock lolipopshock commented Sep 12, 2021

Add support for loading pdf files in layoutparser

>>> import layoutparser as lp >>> pdf_layout = lp.load_pdf("path/to/pdf") >>> pdf_layout[0] # the layout for page 0 >>> pdf_layout, pdf_images = lp.load_pdf("path/to/pdf", load_images=True) >>> lp.draw_box(pdf_images[0], pdf_layout[0])
@maswiebe
Copy link

Can I use this to extract a table from a PDF into a dataframe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants