client.document, client.face, and client.identity. Each image parameter accepts a FileInput; the SDK handles presigned upload internally. For the full request/response schemas, follow the REST links per method.
Document
scan(input)
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
input.image | FileInput | Yes | — | Document image |
input.documentType | DocumentType | No | 'auto' | Document type hint |
DocumentScanResult:
ValidationError, AuthenticationError, RateLimitError, NetworkError, TimeoutError, DeepIDVError.
Face
detect(input)
| Parameter | Type | Required | Description |
|---|---|---|---|
input.image | FileInput | Yes | Image to analyze |
FaceDetectResult:
compare(input)
| Parameter | Type | Required | Description |
|---|---|---|---|
input.source | FileInput | Yes | Reference image |
input.target | FileInput | Yes | Image to compare against |
FaceCompareResult:
estimateAge(input)
| Parameter | Type | Required | Description |
|---|---|---|---|
input.image | FileInput | Yes | Image to analyze |
FaceEstimateAgeResult:
Identity
verify(input)
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
input.documentImage | FileInput | Yes | — | Document image |
input.faceImage | FileInput | Yes | — | Selfie / face image |
input.documentType | DocumentType | No | auto-detect | Document type hint |
IdentityVerificationResult. All confidence and threshold values are reported on a 0–100 scale:
document, faceDetection, faceMatch) are always present on a 2xx response, even when verified is false.
Throws ValidationError, AuthenticationError, RateLimitError, NetworkError, TimeoutError, DeepIDVError.