Get Started

The Sybrin Biometrics Web SDK can be used to run liveness detection. Implementing the web SDK is as easy dropping and referencing the relevant files into your project, then simply using the JavaScript API or the web components supplied by the SDK. In this section we will focus on how to get the Sybrin Biometrics Web SDK into your project.

Before you begin

Please ensure that you have acquired an API key and endpoints from Sybrin.

Please ensure that you have the following essential files:

  • sybrin.biometrics.js

  • sybrin.biometrics.css

  • assets/model-shard1.xml

  • assets/model-weights_manifest.json

The following are optional files:

  • index.css

  • index.html

  • index.js

Project structure

The Sybrin Biometrics Web SDK is configurable and does not require a specific project structure. You may drop the required files into the root of the project as provided or you can change the folder structure and file locations. This includes the face detection model. Please see configuration options for details on how to configure the path to the face detection model.

Referencing the web SDK

To load the web SDK and its modules, simply add a script tag with a reference to the sybrin.biometrics.js JavaScript file to the HTML file of your project:

index.html
<script src="sybrin.biometrics.js"></script>

The above example assumes sybrin.biometrics.js is located at the root of your project. This can be added to the <head> tag or the <body> tag according to preference.

If you will be using our web components, please ensure that you also reference the CSS.

index.html
<link rel="stylesheet" type="text/css" href="sybrin.biometrics.css" media="screen" />

Done

You are now ready and all set up to use the Sybrin Biometrics Web SDK! Check out all the Biometrics Features

Last updated