A tool to create table ground truth in PDF documents
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
resources
script
src/main
.gitignore
LICENSE
README.md
config.ini
pom.xml
usage.pdf

README.md

PdfTableAnnotator

A tool to create table ground truth in PDF documents.

Additional usage info see usage.pdf .

Installation

Install using maven.

mvn install

Start Web-Application

  1. start server with

    mvn jetty:run

2a. go to

http://localhost:8080

This shows the contents of the default repository, which is found in ./resources/repos/test. See "command line usage" for how to add files to the repositories.

2b. OR: To open any PDF on the harddisk, point the browser to

http://localhost:8080/annotate?file=path/to/pdf 

The path is relative to the basedir setting ("/" by default; can be changed in the file config.ini).

Command line usage

Import documents:

mvn exec:java -Dexec.args="import /path/to/pdfs/ repository_name"

E.g:

mvn exec:java -Dexec.args="import /home/user/mypdfs testdocs"