Skip to content

Latest commit

 

History

History
168 lines (150 loc) · 6.43 KB

README.md

File metadata and controls

168 lines (150 loc) · 6.43 KB

FaceRecognition-JavaScript

Our facial recognition algorithm is globally top-ranked by NIST in the FRVT 1:1 leaderboards. badge

Latest NIST FRVT evaluation report 2024-12-20

FRVT Sheet

🆔 ID Document Liveness Detection - Linux - Here badge

🤗 Hugging Face - Here

📚 Product & Resources - Here

🛟 Help Center - Here

💼 KYC Verification Demo - Here

🙋‍♀️ Docker Hub - Here

Overview

This repository demonstrates both face recognition technology developed by KBY-AI in JavaScript languages.

In this repository, we implemented our face recognition model through ONNX Runtim framework to run it on web browser.

◾FaceSDK(Mobile) Details

Basic 🔽 Standard Premium
Face Detection Face Detection Face Detection
Face Liveness Detection Face Liveness Detection Face Liveness Detection
Pose Estimation Pose Estimation Pose Estimation
Face Recognition Face Recognition
68 points Face Landmark Detection
Face Quality Calculation
Face Occlusion Detection
Eye Closure Detection
Age, Gender Estimation

◾FaceSDK(Mobile) Product List

No. Repository SDK Details
1 Face Liveness Detection - Android Basic SDK
2 Face Liveness Detection - iOS Basic SDK
3 Face Recognition + Face Liveness Detection - Android Standard SDK
4 Face Recognition + Face Liveness Detection - iOS Standard SDK
5 Face Recognition + Face Liveness Detection - Flutter Standard SDK
6 Face Recognition + Face Liveness Detection - Ionic-Cordova Standard SDK
7 Face Recognition + Face Liveness Detection - React-Native Standard SDK
8 Face Attribute - Android Premium SDK
9 Face Attribute - iOS Premium SDK
10 Face Attribute - Flutter Premium SDK

To get Face SDK(server), please visit products here.

Try the APK

Google Play

Performance Video

You can visit our YouTube video here to see how well our demo app works.

Face Recognition Android

Support

How To Run

  • Install npm and node package and then check the version with the following commands.
npm --version
node --version
  • Install dependencies
npm install
  • Build project
npm run build
  • Run project
npm run test

APIs

Load face detection model

loadDetectionModel()

Detect face against the image

detectFace(session, canvas_id)

Load face landmark extraction model

loadLandmarkModel()

Extract face landmark in the image using detection result

predictLandmark(session, canvas_id, bbox)

Load face liveness detection model

loadLivenessModel()

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

predictLiveness(session, canvas_id, bbox)

Load face expression model

loadExpressionModel()

Detect face expression

predictExpression(session, canvas_id, bbox)

Load face 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 face recognition model

loadFeatureModel()

Extract face feature vector in 512 dimension

extractFeature(session, canvas_id, landmarks)