File size: 129 Bytes
230c9a6
 
 
 
 
1
2
3
4
5
6
from pdf2image import convert_from_path

def load_pdf(pdf_path):
    images = convert_from_path(pdf_path)
    return images