Skip to content
Articles
Article

recharge_card_ocr: read printed digit codes from a photo in Flutter

by Abdeldjalil Chougui dev.to

6 min read

Typing a 14 or 16-digit code from a scratch card is slow and easy to get wrong. Pointing the camera at the card is the obvious improvement, and on-device text recognition is good enough to try it. The trouble starts after the OCR. Text recognition returns everything on the card: the price, dates, a lot number, a slogan, and somewhere in there the code. It reads O where the card says 0 and S where…

Forum

Questions about this, or something to add?

Discuss on the forum

Topics Camera and media

Report this · Wrote this? Claim it

FlutterX is supported by