Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for pdf2xml format #57

Open
stweil opened this issue Jul 29, 2017 · 0 comments
Open

Add support for pdf2xml format #57

stweil opened this issue Jul 29, 2017 · 0 comments
Labels
format Suggestions for new ocr formats to be included

Comments

@stweil
Copy link
Member

stweil commented Jul 29, 2017

The program pdftohtml (part of Debian package poppler-utils) can extract images and text from a PDF file and write an XML file with the extracted information:

pdftohtml -c -hidden -xml INPUT_PDF OUTPUT_XML

Libraries like pdftabextract use that XML file for further processing.

By transforming ALTO or hOCR XML directly to the pdf2xml XML format, the time consuming intermediate PDF could be avoided.

@stweil stweil added the enhancement Any enhancement on the software itself (excluding new transformations) label Jul 29, 2017
@zuphilip zuphilip added format Suggestions for new ocr formats to be included and removed enhancement Any enhancement on the software itself (excluding new transformations) labels Dec 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
format Suggestions for new ocr formats to be included
Projects
None yet
Development

No branches or pull requests

2 participants