Show HN: HTML visualization of a PDF file's internal structure (opens in a new tab)github.com
451 pointsHi,
I've just finished a rebuild of this function and added a lot of new features: info, page index, minimap, inverted index,...
I think it may be useful for inspection, debugging or just as a learning resource showcasing the PDF file format.
This is a pet project and I would be happy to receive some feedback!
Regards
Comments (57) 18 threads
The project was in the end a complete failure and several people were upset at me for not delivering what I was supposed to.
In present day, with the capabilities that are now available with LLMs to extract data from PDFs I 100% would go the route of utilising AI to extract the data they wanted. Back then that did not yet exist.
In the same way now with today's AI models the task is easily achievable.
We (at https://runtrellis.com/) have been building PDF processing pipeline from the ground up with LLMs and VLMs and have seen close to 100% accuracy even for tricky PDFs. The key is to use rule based engine and references to cross check the data.
OCR can take you pretty far depending on expectations, but it's never quite far enough in my experience.
The .NORM files (https://xkcd.com/2116)
It looks perfectly nice for its role, but I didn’t use it for my last project because I need serialization as well.
https://github.com/HexFiend/HexFiend/blob/master/templates/T...
I haven't had a lot of luck thus far, except ones which allow escaping out of declarative mode over into "and then run this code"
All comments shown.
Couldn't load more comments. Check your connection and try again.