Skip to content

Introduction

DEPRECATION NOTICE

We are in the process of deprecating our "Selfie Alive" process. As a first step, we are going to deprecate it in our web SDKs (Web-Components only) in the next SDKs release.

This means that the next Web-Components SDKs released won't have this functionality.

Those customers with our Web-components web SDKs already integrated and using "Selfie Alive" will need to adapt their integrations to our passive ("Selfie") or active ("Selfie Alive Pro") liveness capture, according to their use case requirements.

The latest web SDKs released with support to "Selfie Alive" (v5.2.14) will be supported and maintained for 6 more months, until February 2025.

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

Selfie SDK is a JS library that allows detecting and capturing a person's face, using advanced biometric techniques. This allows to carry out a face biometry verification step in the context of the identity verification process offered by Veridas. Selfie SDK has three different ways of detection, each with a higher level of security: Selfie, Selfie Alive and Selfie Alive Pro, the most secure one.

Flows

  • Selfie(Selfie): The most basic flow. Consists of capturing an image of the face. The SDK automatically detects the face when it is positioned on the guiding oval and takes a photo.
  • Selfie Alive(Smile/Serious): This flow provides higher security and more features than the Selfie one. Consists of capturing two images of the face, a standard selfie and a smiling selfie. The SDK automatically detects the face when it is positioned on the guiding oval and takes a photo. After that, the person is asked to smile, and when the SDK detects that it is smiling, the second photo is taken. This process flow also provides a form of face liveness detection.
  • Selfie Alive Pro(Head Movement): This is the most advanced and higher security flow. It is based on a challenge-response design and also provides an advanced form of face liveness detection. Consists of capturing a video of the person performing a head movement challenge which is guided by a head animation displayed on the screen, which must be followed by the person who is doing the process.

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.

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
Instagram Yes Yes
Platform native webview Yes Yes

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-selfie.umd.js 5.84 MB
vd-selfie.es.js 5.84 MB
images 678.45 KB
OpenCV undefined
Tensorflow 448 bytes
cv.worker.js undefined
tf.worker.js undefined