Face API is a framework that is used for face matching, recognition and liveness detection.
- Download or the clone current repository using the command
git clone https://github.com/regulaforensics/ionic-native-face-api.git
. - Run the following commands within the root directory:
$ cd example
$ npm install
$ npx jetify
$ ionic cordova prepare
- Android:
- Run
ionic cordova run android
inside example folder - this is just one way to run the app. You can also run it directly from within Android Studio.
- iOS:
- Run
ionic cordova run ios
inside example folder - this is just one way to run the app. You can also run it directly from within Xcode.
- Place a license that supports offline match at
src/assets/regula.license
. - Change
android-packageName
andios-CFBundleIdentifier
inconfig.xml
if required by your license. - Run the following commands:
ionic cordova plugin remove cordova-plugin-face-core
ionic cordova plugin add @regulaforensics/cordova-plugin-face-core-match
ionic cordova prepare
- Turn off the internet and run the app.
You can find documentation on API here.
If you have any technical questions, feel free to contact us or create issues here.