$ git clone https://github.com/pyxploiter/PDF2JSON.git
$ cd PDF2JSON
$ pip install -r requirements.txt
usage: pdf2json.py [-h] -i PDF_FILE [-s] [-d]
optional arguments:
-h, --help show this help message and exit
-i PDF_FILE enter the path to pdf file
-s, --save_images save images of pdf file
-d, --debug turn on the debug mode
example: python pdf2json.py -i tests/example1.pdf
usage: ./run_for_folder.sh PATH/TO/FOLDER [-s] [-d]
example: ./run_for_folder.sh tests -s -d