Skip to content

regulaforensics/ionic-native-face-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Regula Face API (Ionic version)

Face API is a framework that is used for face matching, recognition and liveness detection.

Contents

How to build the demo application

  1. Download or the clone current repository using the command git clone https://github.com/regulaforensics/ionic-native-face-api.git.
  2. Run the following commands within the root directory:
$ cd example
$ npm install
$ npx jetify
$ ionic cordova prepare
  1. 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.
  1. 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.

How to use offine match

  1. Place a license that supports offline match at src/assets/regula.license.
  2. Change android-packageName and ios-CFBundleIdentifier in config.xml if required by your license.
  3. 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
  1. Turn off the internet and run the app.

Documentation

You can find documentation on API here.

Additional information

If you have any technical questions, feel free to contact us or create issues here.