Face Recognition Ionic-Cordova SDK
Face recognition Ionic Cordova SDK with liveness detection
Last updated
Face recognition Ionic Cordova SDK with liveness detection
Last updated
Before getting started, ensure the following are installed on your system:
Install the required tools globally using npm:
Navigate to your Ionic project directory and add the plugin:
Run the following command to compile your app:
Locate the AndroidManifest.xml
file inside:
platforms/android/app/src/main/
Add this permission line within the <manifest>
tag:
Once permission is added and the build is successful, run the app on a connected Android device:
From your project root, add the FacePlugin:
To enable iOS support, execute:
This prepares the iOS environment and syncs configurations:
Open the iOS workspace using Xcode:
Inside Xcode, locate the Info.plist
file and add the following snippet to request camera access:
Use Xcode to build and run the app on a physical iOS device (not a simulator).
Download the latest version of which includes npm. After installation, confirm they are set up correctly by running: