56 points · by blondie9x · 10y ago · 5 comments
You're also gonna have problems with all-image pdfs (scans) that have low quality OCR results layered on top of them.
If you want to decode tables, "pdftotext -layout" is a good starting point. If you need more detail, try "pdftohtml -xml -fullfontname".
https://github.com/chrismattmann/tika-python
Good, simple getting started documentation.
http://seclists.org/bugtraq/2016/May/119 [CVE-2016-2175] Apache PDFBox XML External Entity vulnerability