<div align="center"> <img alt="kby-face" src="https://github.com/kby-ai/FaceRecognition-Javascript/assets/82228271/cab95553-8881-41ca-b37d-a0606877c942" width="300" width="300"> </div>
npm install kby-facebash
npm install kby-face
`
loadDetectionModel()
`
Detect face in the image
`
detectFace(session, canvas_id)
`
$3
Load landmark extraction model
`
loadLandmarkModel()
`
Extract face landmark in the image using detection result
`
predictLandmark(session, canvas_id, bbox)
`
$3
Load liveness detection model
`
loadLivenessModel()
`
Detect face liveness in the image using detection result. (Anti-spoofing)
`
predictLiveness(session, canvas_id, bbox)
`
$3
Load expression detection model
`
loadExpressionModel()
`
Detect face expression
`
predictExpression(session, canvas_id, bbox)
`
$3
Load pose estimation model
`
loadPoseModel()
`
Predict facial pose
`
predictPose(session, canvas_id, bbox, question)
`
$3
Load eye closeness model
`
loadEyeModel()
`
Predict eye closeness
`
predictEye(session, canvas_id, landmark)
`
$3
Load gender detection model
`
loadGenderModel()
`
Predict gender using face image
`
predictGender(session, canvas_id, landmark)
`
$3
Load age detection model
`
loadAgeModel()
`
Predict age using face image
`
predictAge(session, canvas_id, landmark)
`
$3
Load feature extraction model
`
loadFeatureModel()
`
Extract face feature vector in 512 dimension
`
extractFeature(session, canvas_id, landmarks)
``