Settings

Theme

Show HN: PDF reflow in the browser with local AI model

appblit.com

6 points by ldenoue · 5 comments

Reader

2 threads
ldenoueOP

this app runs entirely in your browser. thanks to Codex, it now uses a YOLO detector using ONNX to detect regions in each rendered PDF page image (text, pictures, formulas, tables). based on this analysis, PDF Reflow then cuts out TEXT regions into tiny little word images and adds back the original text from the PDF (when available) so you can still select and find text in the reflowed HTML render.

Hope you find this useful. The original version used heuristics, but frankly it was breaking on many more PDF that I'd want to admint.

This new AI-based version that uses a YOLO detector trained specifically on Doc Layout dataset seems to do a very very good job.

top256

Did you find tune a model?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection