npm install faceplugin
- Face Detection
- Face Landmark Extraction
- Face Liveness Detection
- Face Expression Detection
- Face Pose Estimation
- Eye Closeness Detection
- Gender Detection
- Age Detection
- Face Feature Embedding
demo_202383011309.mp4
[Please subscribe on Youtube channel]
Here are some useful documentation
Load detection model
loadDetectionModel()
Detect face in the image
detectFace(session, canvas_id)
Load landmark extraction model
loadLandmarkModel()
Extract face landmark in the image using detection result
predictLandmark(session, canvas_id, bbox)
Load liveness detection model
loadLivenessModel()
Detect face liveness in the image using detection result. (Anti-spoofing)
predictLiveness(session, canvas_id, bbox)
Load expression detection model
loadExpressionModel()
Detect face expression
predictExpression(session, canvas_id, bbox)
Load pose estimation model
loadPoseModel()
Predict facial pose
predictPose(session, canvas_id, bbox, question)
Load eye closeness model
loadEyeModel()
Predict eye closeness
predictEye(session, canvas_id, landmark)
Load gender detection model
loadGenderModel()
Predict gender using face image
predictGender(session, canvas_id, landmark)
Load age detection model
loadAgeModel()
Predict age using face image
predictAge(session, canvas_id, landmark)
Load feature extraction model
loadFeatureModel()
Extract face feature vector in 512 dimension
extractFeature(session, canvas_id, landmarks)
If you want to get better model, please contact us