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

AttributeError: module 'layoutparser' has no attribute 'load_pdf' #220

Open
iRajesha opened this issue Dec 18, 2024 · 0 comments
Open

AttributeError: module 'layoutparser' has no attribute 'load_pdf' #220

iRajesha opened this issue Dec 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@iRajesha
Copy link

iRajesha commented Dec 18, 2024

Hi,
I am trying to follow this tutorial (watched your video in YouTube)

Tutorial

Followed installation instructions from here - Installation

I am facing the issue when executing this line pdf_tokens, pdf_images = lp.load_pdf("test.pdf", load_images=True)
It looks like this function is not there in layout parser module anymore ? but documentation says it's present PDF extraction
Also, I wanted to check what is the best way to use Layout Parser to extract data from Invoices with complex structure

Thank you in advance.

@iRajesha iRajesha added the bug Something isn't working label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant