@regulaforensics/face-sdk
Version:
This is an npm module for Regula Face SDK. It allows you to easily compaire faces using your phone's camera.
25 lines (16 loc) • 973 B
Markdown
# Regula Face SDK Ionic demo application
## How to build demo application
1. Download or the clone current repository using the command `git clone https://github.com/regulaforensics/npm-face-sdk.git`.
2. Execute `npm run setup` within this directory.
3. Run the app:
* IOS: `npm run ios`.
* Android: `npm run android`.
**Note**: this is just one way of running the app. You can also pass `-o` or `--open` argument to the command, and this will open Xcode/Android Studio, then run the app directly from the IDE. Overall, this is a more consistent way, so if you're having troubles running the app from terminal, try running it from the IDE.
## How to use offline match
1. Place a license that supports offline match at `assets/regula.license`.
2. Change core with the following commands:
```bash
ionic cordova plugin remove @regulaforensics/face-core-basic
ionic cordova plugin add @regulaforensics/face-core-match
```
3. Turn off the internet and run the app.