MCPcopy Index your code
hub / github.com/Faceplugin-ltd/FaceRecognition-LivenessDetection-Javascript

github.com/Faceplugin-ltd/FaceRecognition-LivenessDetection-Javascript @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
870 symbols 1,543 edges 16 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Face Recognition SDK Javascript - Fully On Premise

Overview

Experience the epitome of speed and fairness with our face recognition model Top-ranked on NIST FRVT, coupled with an advanced iBeta level 2 liveness detection engine that effectively safeguards against printed photos, video replay, 3D masks, and deepfake threats, ensuring top-tier security.

This is on-premise SDK which means everything is processed on the browser and NO data leaves the device

Installation

npm install faceplugin-face-recognition-js

Table of Contents

Examples

https://github.com/kby-ai/FaceRecognition-Javascript/assets/125717930/551b6964-0fef-4483-85a7-76792c0f3b56

Watch the video

List of our Products

Documentation

Here are some useful documentation

Face Detection

Load detection model

loadDetectionModel()

Detect face in the image

detectFace(session, canvas_id)

Face Landmark Extraction

Load landmark extraction model

loadLandmarkModel()

Extract face landmark in the image using detection result

predictLandmark(session, canvas_id, bbox)

Face Liveness Detection

Load liveness detection model

loadLivenessModel()

Detect face liveness in the image using detection result. (Anti-spoofing)

predictLiveness(session, canvas_id, bbox)

Face Expression Detection

Load expression detection model

loadExpressionModel()

Detect face expression

predictExpression(session, canvas_id, bbox)

Face Pose Estimation

Load pose estimation model

loadPoseModel()

Predict facial pose

predictPose(session, canvas_id, bbox, question)

Eye Closeness Detection

Load eye closeness model

loadEyeModel()

Predict eye closeness

predictEye(session, canvas_id, landmark)

Gender Detection

Load gender detection model

loadGenderModel()

Predict gender using face image

predictGender(session, canvas_id, landmark)

Age Detection

Load age detection model

loadAgeModel()

Predict age using face image

predictAge(session, canvas_id, landmark)

Face Recognition

Load feature extraction model

loadFeatureModel()

Extract face feature vector in 512 dimension

extractFeature(session, canvas_id, landmarks)

Contact

If you want to get better model, please contact us

faceplugin.comfaceplugin.comfaceplugin.com

Core symbols most depended-on inside this repo

throwBindingError
called by 36
js/opencv_js.js
throwBindingError
called by 36
js/opencv.js
assert
called by 28
js/opencv_js.js
assert
called by 28
js/opencv.js
requireFunction
called by 22
js/opencv_js.js
requireFunction
called by 22
js/opencv.js
readLatin1String
called by 21
js/opencv_js.js
readLatin1String
called by 21
js/opencv.js

Shape

Function 870

Languages

TypeScript100%

Modules by API surface

js/opencv_js.js403 symbols
js/opencv.js403 symbols
lib/fr_detect.js17 symbols
lib/fr_feature.js10 symbols
lib/fr_landmark.js7 symbols
lib/fr_liveness.js5 symbols
lib/fr_gender.js5 symbols
lib/fr_eye.js5 symbols
lib/fr_age.js5 symbols
lib/fr_pose.js4 symbols
lib/fr_expression.js4 symbols
lib/load_opencv.js1 symbols

For agents

$ claude mcp add FaceRecognition-LivenessDetection-Javascript \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page