Skip to content

Face Recognition Ionic Cordova with 3D passive liveness detection(anti-spoofing). This repo supports the following functionality: face matching, face compare, face comparison, facial recognition, feature extraction, face anti-spoofing and face liveness for IDV

Notifications You must be signed in to change notification settings

Sassy01girl/FaceRecognition-Ionic-Cordova

 
 

Repository files navigation

🤗 Hugging Face - Here

📚 Product & Resources - Here

🛟 Help Center - Here

💼 KYC Verification Demo - Here

🙋‍♀️ Docker Hub - Here

FaceRecognition-Ionic-Cordova

This repository demonstrates both face liveness detection and face recognition technology for Ionic Cordova on Android and iOS platforms.

In this repository, we integrated KBY-AI's face liveness detection and face recognition technology into this Flutter project for both Android and iOS.

◾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 - Android Standard SDK
4 Face Recognition - iOS Standard SDK
5 Face Recognition - Flutter Standard SDK
➡️ Face Recognition - Ionic-Cordova Standard SDK
7 Face Recognition - 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 with Demo App

Google Play

App Store

Performance Video

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

Screenshots

SDK License

This repo integrated KBY-AI's face recognition SDK, which requires a license for each application ID.

How To Run

1. Prerequisites

Node.js and npm:

  • You can download and install from Node.js website. After installation, verify by running:
node -v
npm -v

Ionic CLI: Install the Ionic CLI globally with npm:

npm install -g @ionic/cli

Cordova CLI: You also need Cordova installed globally:

npm install -g cordova

2. Running the Android App

Add FacePlugin to the Project
Run the following command to add the FacePlugin to your Ionic Cordova project:

ionic cordova plugin add ./FacePlugin  

Build the Android App
After adding the plugin, build the Android app:

ionic cordova build android

Add Camera Permission
To allow camera access, add the following permission to the AndroidManifest.xml placed in platforms/android/app/src/main:

<uses-permission android:name="android.permission.CAMERA" />

Run the Android App
Once the permission is added and the app is built, you can run it on an Android device:

ionic cordova run android

3. Running the iOS App

Add FacePlugin To The Project
Run the following command to add the FacePlugin to the project:

ionic cordova plugin add ./FacePlugin

Add the iOS Platform

ionic cordova platform add ios

Prepare the iOS Project

ionic cordova prepare ios

Add Camera Permission to Info.plist
Open the iOS workspace in Xcode:

open platforms/ios/face-recognition.xcworkspace

Then, navigate to the file Info.plist in Xcode and add the following entry to request camera permission:

<key>NSCameraUsageDescription</key>
<string>We need access to your camera for face recognition.</string>

Build the app with Xcode and run it on a real iOS device, not simulator.

About

Face Recognition Ionic Cordova with 3D passive liveness detection(anti-spoofing). This repo supports the following functionality: face matching, face compare, face comparison, facial recognition, feature extraction, face anti-spoofing and face liveness for IDV

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 52.9%
  • Objective-C++ 18.9%
  • TypeScript 13.0%
  • Objective-C 8.9%
  • JavaScript 2.4%
  • SCSS 2.0%
  • HTML 1.9%