Skip to content

Introduction

IMPORTANT NOTE

Major versions represent a big change from the previous major version, providing more capabilities and potential. At the same time, moving from a major version means a break in backward compatibility that must be managed using the provided migration guide. Please make sure to perform proper tests in development environments to ensure that everything is working as expected.

Differential features and improvements of WC SDKs

Video SDK is a JS library that merges the Selfie SDK and the Document SDK into one, allowing you to capture and verify both faces and documents in a single video stream.

The Video SDK works by first detecting the user's face using advanced biometric techniques to verify the user's identity.

Once the user's identity has been verified, the Video SDK will then capture documents and use advanced detection techniques to identify the type of document and the authenticity of the document.

Flow

The Video SDK is a powerful tool that can be used to streamline the identity verification process. This is done by having the user complete the following tasks in a single video:

  1. Show their face: The user must look directly at the camera and show their entire face.
  2. Spell a custom sentence or word: The user will be prompted to spell a custom sentence or word to verify that they are a live person.
  3. Show the obverse (front side) of their document: The user must hold up their document to the camera so that the entire front side of it is visible.
  4. Show the reverse (back side) of their document (if applicable): If the user's document has two sides, they will also be prompted to show the back side of the card to the camera.

Camera

VDVideo takes into account the type of device being used and attempts to launch the camera (front facing or rear) that will provide the user with the best experience:

  • Rear camera is used on mobile devices (smartphones, tablets…)
  • Front camera is used on computers (desktops, laptops…)

The following permissions are required for the framework to work:

  • Camera.
  • Microphone.

The camera attempts to start at Full HD (1080p), but lower resolutions are intended whether the devices are unable to support the optimal one.

Specifications

The following permission is required for the framework to work:

  • Camera: By default, the SDK launch Front camera on all devices (smartphones, tablets, desktops, laptops...), but you can choose the camera you want to use with the selectCamera property. With this property you can launch the Back camera, to use with Selfie flow.
  • Microphone: : The SDK also accesses the device's microphone for audio input by default. This allows for an audio recording feature included in this sdk.

Browser compatibility

The SDK supports the following devices and browsers:

Desktop Browsers

Browser Name Minimum version Current version
Chrome 64 114
Firefox 69 111
Safari 13.1 16.4
Opera 51 95
Edge 79 111

Mobile and Tablets Browsers

Browser Name Platform Minimum version Current version
Chrome Android 64 111
Firefox Android 79 110
Edge Android 79 112
Opera Mobile Android 47 73
Samsung Internet Android 9.0 20
Chrome iOS 64 111
Firefox iOS 79 110
Edge iOS 79 113
Opera Mobile iOS 47 4.0.1
Safari iOS 13.4 16.4

Browser APIs

ResizeObserver GetUserMedia WebAssembly

Webview compatibility

The SDK supports the following webviews:

Webview Name iOS Android
Facebook Yes Yes (1)
Instagram Yes Yes (1)
Platform native webview Yes Yes

(1) In Instagram and Facebook webviews, access to the microphone is not allowed, so video recording was done without audio.

Veridas recommends the following minimum requirements:

Android devices Minimum recommended requirement
Camera resolution At least 1080p (Full HD)
RAM At least 4GB, 6GB preferred
Processor (CPU) Mid-range and recent
Screen resolution At least 1080p (Full HD)
iOS devices Minimum recommended requirement
Device model From iPhone 11 onwards

Please note that devices below these minimums may not function properly. Additionally, it's important to emphasize that while meeting these minimum specifications ensures functionality, exceeding them does not guarantee impeccable performance in all cases.

Dependencies

File Name Size file
vd-video.umd.js 5.85 MB
vd-video.es.js 5.85 MB
images 709.37 KB
OpenCV 1.44 MB
cv.worker.js 1.94 KB