card-io / card.io-dmz

The core image-processing and machine-learning code for card.io, which is shared between iOS and Android.
Other
141 stars 116 forks source link

Using Card.io to scan government IDs #48

Open suheylben opened 6 years ago

suheylben commented 6 years ago

I would like to know if there is any way to capitalize on the detection capabilities of card.io's code to detect government IDs ? they are fundamentally the same size of a credit card. the objective would be only to produces a cropped image of the ID so that it could be OCRized on a server-side any information would be very helpful

thank you !

josharian commented 6 years ago

Something like https://github.com/card-io/card.io-iOS-source/blob/master/CardIO_Public_API/CardIOView.h#L88 should do it

suheylben commented 6 years ago

thank you for the tip! I will work on the implementation and hopefully submit a working sample of the integration