pdf2image
https://pypi.org/project/pdf2image/
https://github.com/Belval/pdf2image
#Unstructured
が使っている
PDFのパスを渡すと、各ページを画像にできる(
#Pillow
)
macOSでは brew install
poppler
convert_from_path
でPDFを画像にできる
https://rinsaka.com/python/tesseract/mac03.html