Method Signature
Description
ThestartFacetec() method initiates the FaceTec 3D liveness detection module. This advanced biometric verification technology ensures that a live person is present by analyzing 3D facial features and movements.
Parameters
FaceTec service credentials and configuration
Optional configuration object for customizing the module’s behavior and appearance
Returns
A promise that resolves with the FaceTec module response
Code Example
Error Handling
The method may throw errors that can be identified usingFadSDK.Errors.Facetec:
Session.CAMERA_NOT_RUNNING- Camera is not running or not supportedSession.INITIALIZATION_NOT_COMPLETED- FaceTec SDK initialization failed- Additional session-related errors for various failure scenarios
FaceTec requires HTTPS in production environments and specific browser permissions for camera access.
Always call
FAD_SDK.end() in a finally block to properly clean up resources after the module completes or fails.Related Methods
- startLivenessToc() - Alternative liveness detection using TOC technology
- startIdentyFace() - Face capture with Identy technology