openfoodfacts / smooth-app

The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart

Home Page:https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Towards a try harder scan mode ?

teolemon opened this issue · comments

What

Towards a try harder scan mode ? Could we have a mode that attempts to OCR its way out of this situation, using MLKIT, to detect the barcode ?

image
image

@teolemon The first screenshot doesn't look like a "normal" barcode to me.
About the second screenshot: what about zooming? We don't have this feature, apparently.

I was even thinking at attempting to detect strings of numbers (8 or 13) if no barcode is detected

I was even thinking at attempting to detect strings of numbers (8 or 13) if no barcode is detected

Then I guess you'll still have the zoom issue: in both screenshots the number are very small.