Skip to main content
The selfie screen guides the user to a centered, well-framed face and takes the photo automatically. In a workflow it follows the document capture, and deepidv matches it against the face on the ID. On its own, SelfieCaptureView returns the photo to your app.

Screens and states

Front-camera screen: an oval guide with 'Position your face in the oval, the photo will be taken automatically'.Front-camera screen: green oval with 'Hold still… taking the photo', and a manual shutter with 'Having trouble? Take the photo yourself'.Front-camera screen: the photo frozen in the oval with a green tick, 'Got it! Your selfie was taken'.
If the photo hasn’t been taken after a few seconds, Having trouble? Take the photo yourself and a shutter button appear. The ✕ closes the camera with .cancelled. The selfie always uses the front camera.

On its own: SelfieCaptureView

SelfieCaptureView doesn’t call deepidv. It returns the photo as a FileInput, for example to pass to verifyIdentity.

Guidance for your users