flutter-ml / google_ml_kit_flutter

A flutter plugin that implements Google's standalone ML Kit
MIT License
976 stars 743 forks source link

[Barcode_Scanner] ITF bad data #349

Closed noga-dev closed 1 year ago

noga-dev commented 2 years ago

ITF of 26 numbers yields wrong data.

For example this: image

Yields random data of random length like this: 3330343537383233303435373832333034353738

Or this: 1216171160010131

Or this: 1213141516171812131415161718121314151617

Sometimes it can reproduce the same wrong data, so it's not like it's completely random, but incorrect either way.

fbernaly commented 2 years ago

@noga-dev : send a PR with your fix

noga-dev commented 2 years ago

@noga-dev : send a PR with your fix

There's no simple fix. Issue is 2-fold: First is ML model requires more training. Second is instability of ITF format.

The first can be addressed, but not the second.

Nitish-Kamath commented 2 years ago

Hey man !! Can you assign me this task :)