ldenoue

Joined 17 years ago

Karma
238
Submissions
243
Member since
Sep 18
Building web, iOS and macOS apps at https://www.appblit.com
View on Hacker News

Recent submissions

Comment · 3 months ago
Comment · 3 months ago
weekend project that uses the latest Chrome Summarizer API, but also YOLO to process PDF pages and find images, tables, and math formulas.

Readability (Mozilla) is used when you open regular web pages, but PDF.JS (also Mozilla!!) is used to render each page, run YOLO region detection and then generate a clean HTML. Math formulas are rendered as Latex, and tables are rendered into HTML by detecting their structure using Texo/FormulaNet.

Finally, you can read out loud the readable articles/PDFs using another local TTS (I prefer PocketTTS personally, but wanted to try the newly released and tiny Inflect TTS as well, so it's an option).

Let me know if you find this useful.

I should probably publish them to the Chrome and Firefox stores.

Comment · 3 months ago
do you have sample PDFs?
Comment · 3 months ago
Not yet. for now this one from Alessandro works well: https://huggingface.co/Armaggheddon/yolo26-document-layout

Converted to ONNX of course, and also CoreML for the iOS app. I haven't yet tried on Android. Does it work for you if you have an Android phone?

Comment · 3 months ago
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.

Comment · 4 months ago
Comment · 7 months ago
Comment · 7 months ago
Comment · 7 months ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton