Menu

1 / 9

I ran two OCR engines and a BERT model entirely in the browser — here's what I learned

DEV Community: machinelearning·karthik valluri·9 days ago
#vZB5dFFm
Reading 0:00
15s threshold

Every day, someone pastes a dashboard screenshot into Slack, a Jira ticket, or a slide deck with customer names, emails, and revenue figures still perfectly readable. The usual fix is a redaction tool — and almost every redaction tool uploads your screenshot to a server, which is exactly the thing you were trying to avoid.

So I built VaultSnip : a free, open-source tool that finds and blurs sensitive text in screenshots. The constraint I set myself: everything runs on your device. No backend, no account, no upload. The whole app is static files on Cloudflare Pages; your screenshot never leaves the browser tab.

That constraint forced me to run a full ML pipeline client-side. Here's what that actually took.

The pipeline: two OCR engines and a PII model, all in the tab

To decide what to blur, you first need to know what text is in the image and where. VaultSnip layers three engines, each running in a Web Worker:

Tesseract.js does the fast first pass.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.