Skip to main content

parse_us_driver_license

Parse a US Driver License document using AI-powered OCR to extract personal information and license details. The parser extracts key information including:

  • Personal details (name, date of birth, address) - License information (license number, class, expiration date) - Physical characteristics (height, weight, eye color) - Address information (street, city, state, zip code) - Endorsements and restrictions

Parameters

NameDescriptionTypeDefault
document_path (required)Path to the US Driver License document (PDF, JPEG, or PNG). dict: The parsed Driver License data. ValueError: If document path is invalid or parsing fails.Union[Path, str]None

Return Value

abstra_internals.contracts_generated.CloudApiCliModelsUsDriverLicenseResponse