Is there a JavaScript (or other) library to read driver's licenses?

前端 未结 2 1452
旧时难觅i
旧时难觅i 2021-02-07 08:45

I\'m working on a JavaScript project that involves reading credit cards and driver\'s licenses from a USB magnetic stripe reader in keyboard emulation mode. It turns out getting

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-07 09:35

    First of all most states don't use magnetic stripe on drivers' licences, or at least that was the case in 2009: http://www.digitaldoorkeep.com/blog/tag/drivers-license-magnetic-stripe/

    Finding data format for the remaining states is a matter of spending some time with google (I found this in 3 minutes: http://www.dgahouston.com/msrdata2.htm ) or actually requesting the information: it's public information.

    Also read this: http://www.dgahouston.com/dlsplit1.htm - scanning licences is illegal in some states.

提交回复
热议问题