rn-card-scanner icon indicating copy to clipboard operation
rn-card-scanner copied to clipboard

Only works with embossed cards

Open daveyjones opened this issue 1 year ago • 2 comments

This works amazingly well with embossed cards. Unfortunately, it doesn't seem to work at all with flat cards (i.e. where the card information is simply printed on the card and not embossed). I have a set of 10 cards that I've been testing with various libraries. Below are the results.

Embossed: 6 / 6 (100%) Flat: 0 / 4 (0%)

Oddly enough, standard OCR libraries seem to do the opposite—they're great with flat cards and terrible with embossed cards. Are there any plans to add support for flat cards as well? I imagine it might require bringing in a complimentary OCR library.

daveyjones avatar May 01 '24 06:05 daveyjones

@daveyjones which React native version and Android/iOS version are you using? I am using Redmi note 8 Android version 11 but no event is triggering at the time of scanning.

I have tried 2 apps one is an example app and the second created newly app and installed library but not getting data

AghaShayan123 avatar May 02 '24 13:05 AghaShayan123

@AghaShayan123 I was testing on an old iPhone running iOS 15. My React Native version is 0.71.7. I haven't tested on Android.

daveyjones avatar May 02 '24 16:05 daveyjones