Face Recognition SDK for the Browser
A browser-based face recognition and liveness SDK built on ONNX Runtime Web and OpenCV.js — everything runs client-side in the browser, so no image or biometric data is sent anywhere.
What You Need to Run It on JavaScript
These are the exact minimum and recommended requirements published in the FaceRecognition-LivenessDetection-Javascript repository — check the repo directly for the latest version, since SDK requirements can change between releases.
Install and Activate
Install the SDK, then activate it with a license key before calling any recognition function — every platform follows this same activate-then-initialize pattern.
- Install the package:
npm install faceplugin-face-recognition-js. - Load the detection model, then the landmark, liveness, and feature models you need — each exposes a
load*Model()and matchingpredict*()/detect*()call. - Run the React.js or Vue.js demo in the repo as a working reference implementation.
How Licensing Works
The browser SDK is released under the MIT license, and runs entirely client-side with no server component or license key required — see the repository's React.js and Vue.js demos for a complete working setup.
Frequently Asked Questions
Does the JavaScript SDK send biometric data to the cloud?
No. Every stage of face recognition runs on your own server or directly on the device, depending on the platform – biometric templates never leave an environment you control.
How is the SDK licensed?
Licenses are offline and bound to a machine code, application ID, or bundle ID depending on the platform. Contact FacePlugin with that identifier to receive a license key – there are no per-call or per-match fees once licensed.
Where can I see the full source and open an issue?
The FaceRecognition-LivenessDetection-Javascript integration is maintained publicly on GitHub at github.com/Faceplugin-ltd, where you can browse the code, file issues, and track releases.
Ready to Add Face Recognition to Your JavaScript App?
Talk to our team to get a license key and a 15-day evaluation period started.