Skip to content
Articles
Article

image_quality_gate: reject blurry or dark photos before OCR, and say why

by Abdeldjalil Chougui dev.to

6 min read

Any app that asks for a photo of a document has the same problem. The user takes a picture of a receipt, an ID card or a page. It is blurry, or too dark, or there is a reflection across the middle. The app uploads it anyway, the OCR returns nonsense, and the user finds out a minute later, or never. The cheap fix is to check the photo on the device, right after it is taken, and to say something sp…

Forum

Questions about this, or something to add?

Discuss on the forum

Report this · Wrote this? Claim it

FlutterX is supported by