- Java 8
- Julia 1.0
Install deepfigures-open.
Note that pull request #3 should be merged before installation.
Extract figures and tables from pdf:
$ python manage.py build
$ python manage.py detectfigures [out directory] [pdf file]
Change owner of deepfigures' output:
$ sudo chown -R [username] [out directory]
Install Julia 1.0.x.
Run julia and press ]
, then
pkg> add https://github.com/hshindo/PDFExtract.jl.git
Put xxx.pdf
and the xxxdeepfigures-results.json
(deepfigures' output) in the same directory.
Then
using PDFExtract
pdfpath = "/home/xxx"
pdf2xml(pdfpath)