3 ms·
This is fun. It would be interesting to add the able to query references inside the page, like images. That could be modeled as a foreign key relationship to th
by xrd 2y ago
This is fun. It would be interesting to add the able to query references inside the page, like images. That could be modeled as a foreign key relationship to the page. I'm using some Python libraries to do that and everything is wrapped in try/except blocks because PDFs are a mess. I wonder how poppler handles those kind of files.
- andai 2y agoFascinating, you wouldn't happen to have the code up would you? What kind of stuff are you doing, and what libraries did you use?
- xrd 2y agoSorry it's not my code to publish. I'm happy to answer general questions over email (on profile page). Pypdf2 and pillow to process images at a high level.