Driver License
The .NET SDK supports the Mindee V1 Driver License API.
Product Specifications
Endpoint Name
driver_license
Recommended Version
v1.0
Supports Polling/Webhooks
✔️ Yes
Support Synchronous HTTP Calls
❌ No
Geography
🌐 Global
Quick-Start
Using the sample below, we are going to illustrate how to extract the data that we want using the SDK.

Sample Code
Sample Output (rST)
Standard Fields
These fields are generic and used in several products.
BaseField
Each prediction object contains a set of fields that inherit from the generic BaseField class. A typical BaseField object will have the following attributes:
Confidence (
double?): the confidence score of the field prediction.BoundingBox (
BoundingBox): contains exactly 4 relative vertices (points) coordinates of a right rectangle containing the field in the document.Polygon (
Polygon): contains the relative vertices coordinates (PolygonextendsList<Point>) of a polygon containing the field in the image.PageId (
int?): the ID of the page, alwaysnullwhen at document-level.
Aside from the previous attributes, all basic fields have access to a custom ToString method that can be used to print their value as a string.
StringField
The text field StringField extends BaseField, but also implements:
Value (
string): corresponds to the field value.RawValue (
string): corresponds to the raw value as it appears on the document.
DateField
The date field DateField extends StringField, but also implements:
DateObject (
DateTime?): an accessible representation of the value as a C# object. Can benull.
Attributes
The following fields are extracted for Driver License V1:
Category
Category: The category or class of the driver license.
Country Code
CountryCode: The alpha-3 ISO 3166 code of the country where the driver license was issued.
Date of Birth
DateOfBirth: The date of birth of the driver license holder.
DD Number
DdNumber: The DD number of the driver license.
Expiry Date
ExpiryDate: The expiry date of the driver license.
First Name
FirstName: The first name of the driver license holder.
ID
Id: The unique identifier of the driver license.
Issued Date
IssuedDate: The date when the driver license was issued.
Issuing Authority
IssuingAuthority: The authority that issued the driver license.
Last Name
LastName: The last name of the driver license holder.
MRZ
Mrz: The Machine Readable Zone (MRZ) of the driver license.
Place of Birth
PlaceOfBirth: The place of birth of the driver license holder.
State
State: Second part of the ISO 3166-2 code, consisting of two letters indicating the US State.
Last updated
Was this helpful?

