Skip to main content

Which camera for the document

The selfie and face liveness always use the front camera. Set the default for every view in the config:
Or for one view only, with documentCamera: on DeepIDVWorkflowView, DeepIDVVerificationView or DocumentScannerView:
The per-view value wins over the config.
The default changed to .front in version 1.3.0. If your app runs on phones and didn’t set documentCamera, set it to .back. See Migrating to 1.3.

Photo quality

Document photos are taken at the largest size the camera offers, up to 12 MP, then cut to the frame on screen. Cameras with more pixels (48 MP) are used at 12 MP.

Center Stage

On iPads with Center Stage, document capture turns it off so the camera doesn’t zoom or pan while the card is photographed. Your app’s own setting is restored afterwards.

Kiosks and fixed tablets

  • Mount the tablet so the front camera is at the user’s chest or face height.
  • Light the area evenly from the front; avoid a window behind the user.
  • Lock the orientation. If the tablet turns during a scan, capture continues, but the photo is sent whole instead of cut to the frame.
  • Use proxy mode even on managed devices: kiosks are physically accessible.

Permission

The SDK asks for camera access the first time a camera screen opens. You need NSCameraUsageDescription in your Info.plist; see Installation.