For anyone looking to implement this in practice, it's important to keep in mind that ML Kit is not capable of accurately reading embossed credit cards, and even with flat credit cards, it struggles quite a bit with the fonts used on credit cards. So this approach will really only work on iOS.
For anyone looking to implement this in practice, it's important to keep in mind that ML Kit is not capable of accurately reading embossed credit cards, and even with flat credit cards, it struggles quite a bit with the fonts used on credit cards. So this approach will really only work on iOS.