layout-parser icon indicating copy to clipboard operation
layout-parser copied to clipboard

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

Open iRajesha opened this issue 10 months ago • 0 comments

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 avatar Dec 18 '24 08:12 iRajesha