FaceRecognition - Ionic-Cordova
This demo demonstrates face recognition and face liveness detection by mitigating biometric fraud based on Ionic Cordova framework for both Android and iOS.
Last updated
This demo demonstrates face recognition and face liveness detection by mitigating biometric fraud based on Ionic Cordova framework for both Android and iOS.
Last updated
This demo demonstrates both Face Liveness Detection and Face Recognition with Ionic Cordova framwork for biometric authentication system.
It stands for face recognition Ionic, facial recognition Ionic, face liveness check Ionic, face spoofing prevention Ionic, face matching Ionic, face comparison Ionic, face search engine Ionic, face identification Ionic, etc.
Make sure you have Node.js
and npm
installed.
Download and install Node.js
from official websites, and then make sure it's installed or not by running the following commands.
Install Ionic
CLI globally with npm:
Install Cordova
framework globally as well.
2.1. Add FacePlugin
To The Project
Run the following command to add the FacePlugin
to the Ionic Cordova
project.
2.2. Build Android
App
2.3. Add Camera Permission
App
Add camera permission on AndroidManifest.xml
placed at platforms/android/app/src/main
.
Once the camera permission is allowed and app is built, the app can be run on Android
device with the following command.
3.1. Add FacePlugin
To The Project
Run the following command to add the FacePlugin
to the Ionic Cordova
project.
3.2. Add iOS
Platform To The Project
3.3. PrepareiOS
Project
3.4. AddCamera Permission
To Info.plist
Open iOS
workspace in Xcode
.
Then navigate to the file Info.plist
in Xcode
, and add the following entry to request camera permission.
Build app finally with Xcode
and run it on a real device, not simulator