BlinkID / blinkid-android

Everything you need to add AI-driven ID scanning into your native Android app.
https://microblink.com/identity/identity-document-scanning/
438 stars 153 forks source link

Feature Request: Height, Eye Color, Hair Color, Weight Support #324

Closed mandrachek closed 2 months ago

mandrachek commented 2 months ago

US driver's licenses often include height, eye color, hair color, and in some cases weight. It would be good to be able to get these values where feasible.

MBrizic01 commented 2 months ago

Hi @mandrachek you can access these values through from BarcodeResult structure where we added extededElements You can find all data from AAMVA-compliant barcodes under their respective BarcodeElementKey in the BarcodeElements structure. For a full list of keys please see here.

mandrachek commented 2 months ago

@MBrizic01 - Ah, ok, I see. It wasn't clear looking at the javadocs for the BlinkIdMultiSideRecognizer.Result how to access this information. That sample cleared quite a few things up for me. Giving this is blinkid-android though, I think I should probably be looking at https://blinkid.github.io/blinkid-android/com/microblink/blinkid/entities/recognizers/blinkid/idbarcode/BarcodeElementKey.html rather than the blinkid-ios struct. :). Thanks.