Posts by yanwang

@yanwang

Yan Wang

I build LensUp (lensup.ai), a document scanner that runs entirely in the browser...
lensup.ai Joined September 2026
214 Points • 7 Badges • 0 Connections • 0 Followers • 5 Following

Posts by yanwang

yanwang • • in Articles • 7 min read
This article was originally published on Hashnode: Fine in Chrome, broken in Previewhttps://wangyan.hashnode.dev/fine-in-chrome-broken-in-preview-two-pdfkit-gotchas-for-anyone-who-writes-pdfs. It is republished here with light edits. > Disclosure: ...
yanwang • • in Articles • 5 min read
Finding the four corners of a page in a phone photo is the step that turns a picture of a document into a copy of one. Everything downstream — the perspective warp, the flattening, the PDF — is easy once you know where the page is. We do that client...
yanwang • • in Articles • 6 min read
For a few days our analytics showed a class of failure that made no sense: images rejected by the decoder in well under a second. Not slow failures, not out-of-memory on a huge photo — instant refusals. Between 2026-09-06 and 09-10, 60 % of every dec...
chevron_left