Last updated
Last updated
Enrollment is the process of registering a new user by connecting their facial biometrics to a Keyless account. During this process, a full and unobstructed view of the user's face is required.
Enrollment with Web SDK can happen in two ways:
Interactive Enrollment, through the Keyless Web SDK JS libraries
, through the Keyless Authentication Service
In this document we'll explain how to perform only interactive enrollment on the front-end, for silent enrollment please check .
The @keyless/sdk-web
library lets you integrate the Keyless Web SDK however you want in terms of UI/UX, let's see a basic example of enrollment:
In this example we handle all the necessary events to perform an enrollment with a continous stream of face frames, and if it fails the error code will be logged to the console.
Previously we have explained how to perform enrollment in a headless way with the @keyless/sdk-web package, now we'll provide an example of doing so with raw HTML syntax.
That's it, everything is handled by the @keyless/sdk-web-components
package, especially the more complex parts of capturing camera frames and sending them at a proper framerate to the authentication service.