-
-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
This page details how to prepare for and install Polybiblioglot on your computer.
You will first have to install some dependencies before being able to use Polybiblioglot.
polybiblioglot uses tesseract for OCR, you will need to follow the steps described here to install tesseract.
On macos, you may find this gist useful.
Poppler is a pdf renderer. In this case, we use it to convert pdf's to images for processing. If you are only converting images, it isn't needed. Please note that the program may crash if you don't install poppler and attempt to convert a pdf.
The pdf2image github explains how to install poppler depending on what platform you are on.
If you are on mac and have brew installed. It's as simple as brew install poppler
The prerequisites were the longest part, now you can install Polybiblioglot in 4 steps:
-
Clone the repository:
git clone https://github.com/bruno-robert/polybiblioglot.git
-
cd into it:
cd polybiblioglot
-
(optional) create a python virtual environment:
python -m venv env
thensource ./env/bin/activate
-
install python dependencies
pip install -r requirements.txt
Running Polybiblioglot is as simple as executing the main.py
file with python:
python main.py
See (link to usage page) for more information on how to use Polybiblioglot.