Last active
August 24, 2018 14:18
-
-
Save rcgalbo/b0ea28a01be43aed6f1dc58cd2abd40a to your computer and use it in GitHub Desktop.
convert a pdf file to an image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pdf2image import convert_from_path | |
image = convert_from_path("path_to_pdf.pdf") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment