card.io-Android-SDK icon indicating copy to clipboard operation
card.io-Android-SDK copied to clipboard

How to retrain card.io model to include non-embossed digits?

Open sprtkd opened this issue 7 years ago • 3 comments

As mentioned in all issues, card.io fails in detecting non-embossed digits on credit cards. There are few questions regarding this:

  1. Is the model not trained on OCR-B digits, or is this problem related to non-embossed only?
  2. Is there any hacky way to implement this using Tesseract, or a new model using Tensorflow?
  3. Why are non-embossed cards a problem?

sprtkd avatar Jan 03 '18 17:01 sprtkd

+1 on this.

Would be great to have ability to get non-embossed... whether that is an update to this model, or ability to insert a new model using TF.

@sprtkd did you get an answer offline that you wouldn't mind sharing?

Thanks in advance.

jeffrwatts avatar May 17 '18 18:05 jeffrwatts

So I tried training on a TF model with computer generated digits, which gave little accuracy. nearly 50%

Then I found out a repo which does it.

https://github.com/SmartEngines

This works as expected.

I would be happy to train a tf model on non embossed cards if anyone provides me with a dataset, since computer generated datasets are futile here.

sprtkd avatar May 18 '18 08:05 sprtkd

does anyone got solution of non-embossed card digits scan ?

jabransiddiqui avatar Dec 18 '18 13:12 jabransiddiqui