Skip to content

Face Recognition Javascript SDK using ONNX Runtime Web and OpenCV.js (Face Detection, Face Landmarks, Face Liveness, Face Pose, Face Expression, Eye Closeness, Age, Gender and Face Recognition)

License

Notifications You must be signed in to change notification settings

Ruma460/FaceRecognition-LivenessDetection-Javascript

 
 

Repository files navigation

Awesome Badge Star Badge issue pr

Installation

npm install faceplugin

Table of Contents

Examples

demo_202383011309.mp4

[Please subscribe on Youtube channel] Watch the video

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

About

Face Recognition Javascript SDK using ONNX Runtime Web and OpenCV.js (Face Detection, Face Landmarks, Face Liveness, Face Pose, Face Expression, Eye Closeness, Age, Gender and Face Recognition)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%