Skip to content

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

Open
@iRajesha

Description

@iRajesha

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions