Dev.to AI 🤖 Ai 👁 0 📖 3 min read

I fed a blank image to my batch OCR tool. It returned nothing — and that was the win.

I spent Saturday testing a small tool I built for turning piles of screenshots into a spreadsheet. You drop in the images, you define the columns you want, it hands back a table. The test I keep thinking about wasn't the

I spent Saturday testing a small tool I built for turning piles of screenshots into a spreadsheet. You drop in the images, you define the columns you want, it hands back a table. The test I keep thinking about wasn't the price table or the receipt. It was a blank white PNG.

I dropped it in with the rest. It came back with three empty columns and a status of ok. No rows. No numbers. Nothing invented.

That sounds like a low bar, until you've spent time with extraction tools. A tool that fills in a blank page will fill in a real invoice too, and you won't notice, because the invented numbers look exactly like the real ones. The blank image is the cheapest honesty test I know. Mine passed because I built the rule in on purpose: a missing field stays empty, and empty is a valid answer.

The rest of the test set was built the same way, with answers known in advance so there was nothing to argue about. A clean price table: four rows, three columns, every cell exact. Wireless earphones, ¥129, 3,400 sold. Then the same table again, rotated six degrees, half resolution, noise, blur, JPEG compression on top. Same four rows. A chat screenshot gave back the name, the product, and the amount. A receipt gave back the date, the item, and the total, and the total matched the receipt: ¥45. A blurry note came back word for word: 明天下午三点开会.

I ran the same input three times in a row. Twenty-four fields, three runs, zero differences. I care about that more than the accuracy number, because a tool that answers differently every time is a tool you can't build a workflow on.

Something did break. The first miscellaneous run hit the gateway's free-tier rate limit mid-batch and came back 429. I added a four-second gap between calls and two retries with 25- and 50-second backoffs, then reran the whole set. Eight out of eight. The honest constraint that remains: thirty images take two to four minutes, because the free tier is the bottleneck. The fix is a paid tier, which is a billing decision, so I'm leaving it alone until a real user asks for speed.

The metering got its own test. A fresh visitor gets 20 free images a day. I sent 21 in one batch and the API answered 402, insufficient credits, need 21. I redeemed a test key for 1,000, sent the same 21 again, and all 21 rows came back. Balance after: free 0, paid 999. Twenty free plus one paid, to the credit. The checkout endpoint returns a real Waffo checkout URL, and claiming a fake order number returns 404. I tested the failure paths because a billing bug that overcharges is worse than a crash.

There's also a translation mode in the same tool. The same chat screenshot comes back in English: Wang Xiaoming, wireless earphone, ¥129. The dirty price table translates clean too. Japanese works the same way: ワイヤレスイヤホン, ¥129.

Two things I haven't verified, and I won't pretend otherwise. The test images were rendered, not photographed. Real photos, handwriting, crumpled receipts, a tilted page shot on a phone, haven't been through the set yet. And the Excel export goes through a CDN, so if that's unreachable the page falls back to CSV. Same content, different button.

The tool is live at https://sksktools.com/batch-extract/?utm_source=devto&utm_medium=referral&utm_campaign=20261130-batch-extract — free 20 images a day, $9.99 for 1,000 after that. If you try the blank image test on whatever you're using now, I'd be curious what comes back.

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.