https://github.com/regulaforensics/ionic-native-face-api
https://github.com/regulaforensics/ionic-native-face-api
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/regulaforensics/ionic-native-face-api
- Owner: regulaforensics
- Created: 2021-02-15T12:59:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-31T11:55:42.000Z (about 2 years ago)
- Last Synced: 2024-05-31T22:37:40.495Z (about 2 years ago)
- Language: TypeScript
- Size: 2.34 MB
- Stars: 3
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Deprecated
This plugin is deprecated and `7.1` is the last release. We kindly recommend migrating to our new plugin `@regulaforensics/face-sdk`:
* [github](https://github.com/regulaforensics/npm-face-sdk)
* [npmjs](https://www.npmjs.com/package/@regulaforensics/face-sdk)
## 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](#how-to-build-the-demo-application)
* [How to use offine match](#how-to-use-offine-match)
* [Documentation](#documentation)
* [Additional information](#additional-information)
## 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:
```bash
$ cd example
$ npm install
$ npx jetify
$ ionic cordova prepare
```
3. 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.
4. 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 offline 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:
```bash
ionic cordova plugin remove cordova-plugin-face-core
ionic cordova plugin add @regulaforensics/cordova-plugin-face-core-match
ionic cordova prepare
```
4. Turn off the internet and run the app.
## Documentation
You can find documentation on API [here](https://docs.regulaforensics.com/develop/face-sdk/mobile).
## Additional information
If you have any technical questions, feel free to [contact](mailto:support@regulaforensics.com) us or create issues [here](https://github.com/regulaforensics/ionic-native-face-api/issues).