DLParser is a library for parsing barcode data from AAMVA compliant driver licenses.
DLParser aims to decode barcode data from AAMVA compliant driver licenses. The parser supports all AAMVA versions and AAMVA defined fields.
- Support for all AAMVA standards (v1-11)
- Support for all AAMVA fields
- License model for all AAMVA fields
- Offline use
- Unit tests for version parsers
- API level 34 or higher
- Kotlin 2.2
- Android Studio 2025.1.1
Add the dependency to the app-level build.gradle file
implementation 'com.github.ajohnson388:DLParser-Kotlin:2.0.0'
Clone the repo.
Sync Gradle.
Launch a debug build on a physical device or an emulator using a webcam.
Scan driver license barcodes by using the example app and view output through the console.
NOTE: The example app uses the GmsBarcodeScanner
. This scanner requires the barcode to be scanned in landscape orientation and must be presented closely to the camera for capture to work. It can take a few seconds and the barcode must be clearly presented.
Open an issue or make a pull request.
Andrew Johnson – [email protected]
Distributed under the MIT license. See LICENSE
for more information.