When onboarding users, businesses need to verify identity documents (ID) and extract information accurately. This API provides OCR (Optical Character Recognition) capabilities to extract information from identity documents, specifically Australian Driver’s Licenses and Passports from any country.Documentation Index
Fetch the complete documentation index at: https://docs.frankieone.com/llms.txt
Use this file to discover all available pages before exploring further.
Document Requirements
Different identity documents have different image requirements:Australian Driver’s License
- Requires both front and back images
- Must submit front image first, then back image
- Both images are mandatory for complete processing
Passport (Any Country)
- Requires only the main identity page
- Single image submission is sufficient
- Status will be COMPLETE_OCR after successful processing
Implementation Guide
Step 3: Check Response Status
After submitting the first image, check the response status of the data
returned in step 2 to determine next steps:
Status Handling
-
If status is
COMPLETE_OCR: I. Processing is complete II. Proceed to Step 5 (Extract Data) -
If status is
AWAITING_DOCUMENT_UPLOAD_BACK: I. Document requires back image (Australian Driver’s License) II. Store the documentId from the response Proceed to Step 4 (Submit Back Image) -
If status indicates an error:
I.
DOCUMENT_INVALID_INCORRECT_FILE_FORMAT: Check file format II.DOCUMENT_INVALID_EXCEEDED_SIZE_LIMIT: ReKuyaduce image size III.AWAITING_DOCUMENT_UPLOAD_INVALID_TYPE: Verify document type IV.AWAITING_DOCUMENT_UPLOAD_FAILED_OCR: Improve image quality
Step 4: Submit Back Image (If Required)
Only required for Australian Driver’s License when status is
AWAITING_DOCUMENT_UPLOAD_BACK.Step 5: Extract OCR Data
Once status is COMPLETE_OCR, extract the relevant data from the
response: (parts of this response has been truncated for brevity)

Important Notes
-
Document Type Detection
- The API automatically detects the document type.
- Response status will indicate if more images are needed.
- Always check the status before proceeding.
-
Data quality
- Check
ocr_scanned_mismatchfor discrepancies. - Monitor confidence scores (for example,
first_name_ocr_data_confidence). - Higher confidence scores indicate better data quality.
- Check
-
Adress Handling
ocr_scanned_address_longis only reliable for Australian documents.- For non-Australian documents, collect address manually.
-
Error Handling
- Implement retry logic for provider offline errors.
- Validate image quality before submission.
- Store both
entityIdanddocumentIdfor error recovery.