Installation
Official package
pdf2image has a pip package with a matching name.
pip install pdf2image
From source
If you want to add a new language The easiest way to use the tool is by cloning the official repo.
git clone https://github.com/Belval/pdf2image
Then install the package with python3 setup.py install
Installing poppler
Poppler is the underlying project that does the magic in pdf2image. You can check if you already have it installed by calling pdftoppm -h
in your terminal/cmd.
Ubuntu
sudo apt-get install poppler-utils
Archlinux
sudo pacman -S poppler
MacOS
brew install poppler
Windows
Download the latest poppler package from @oschwartz10612 version which is the most up-to-date.
Move the extracted directory to the desired place on your system
Add the
bin/
directory to your PATHTest that all went well by opening
cmd
and making sure that you can callpdftoppm -h