Expand description
AAMVA DL / ID (PDF417) reader.
decode_pdf417_from_image_bytes/decode_pdf417_from_luma8— scan the PDF417 barcode printed on the back of a US / Canadian driver’s licence via therxingcrate.parse— parse the text payload into anAamvaLicense.parse_license_from_image_bytes/parse_license_from_luma8— convenience: scan + parse in one call.
Covers AAMVA Card Design Standard versions 01–10 (MMDDCCYY dates for USA jurisdictions, CCYYMMDD for Canada, both tolerated).
Re-exports§
pub use data::AamvaHeader;pub use data::AamvaLicense;pub use data::Compliance;pub use data::Country;pub use data::EyeColor;pub use data::HairColor;pub use data::Height;pub use data::Sex;pub use data::SubfileDesignator;pub use data::Truncation;pub use error::AamvaError;pub use parser::parse;pub use pdf417::decode_pdf417_from_image_bytes;pub use pdf417::decode_pdf417_from_luma8;
Modules§
- data
- Parsed AAMVA DL / ID data model.
- error
- Error types for the AAMVA DL / ID parser.
- parser
- AAMVA DL / ID payload parser.
- pdf417
- PDF417 barcode detection via the
rxingcrate.
Functions§
- parse_
license_ from_ image_ bytes - Scan the PDF417 on PNG/JPEG image bytes and parse the AAMVA payload.
- parse_
license_ from_ luma8 - Scan the PDF417 on a luma8 buffer and parse the AAMVA payload.