Skip to content

Commit 753bba5

Browse files
author
Jenkins
committed
6.3.278
1 parent a15af9e commit 753bba5

File tree

8 files changed

+26
-64
lines changed

8 files changed

+26
-64
lines changed

.github/workflows/sast.yaml

Lines changed: 0 additions & 58 deletions
This file was deleted.

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Face API is a framework that is used for face matching, recognition and liveness
33

44
# Contents
55
* [How to build the demo application](#how-to-build-the-demo-application)
6+
* [How to use offine match](#how-to-use-offine-match)
67
* [Documentation](#documentation)
78
* [Additional information](#additional-information)
89

@@ -22,6 +23,17 @@ $ ionic cordova prepare
2223
4. iOS:
2324
* 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.
2425

26+
## How to use offine match
27+
1. Place a license that supports offline match at `src/assets/regula.license`.
28+
2. Change `android-packageName` and `ios-CFBundleIdentifier` in `config.xml` if required by your license.
29+
3. Run the following commands:
30+
```bash
31+
ionic cordova plugin remove cordova-plugin-face-core
32+
ionic cordova plugin add @regulaforensics/cordova-plugin-face-core-match
33+
ionic cordova prepare
34+
```
35+
4. Turn off the internet and run the app.
36+
2537
## Documentation
2638
You can find documentation on API [here](https://docs.regulaforensics.com/develop/face-sdk/mobile).
2739

example/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
},
1414
"private": true,
1515
"dependencies": {
16-
"@regulaforensics/cordova-plugin-face-api": "6.2.4",
17-
"@regulaforensics/ionic-native-face-api": "6.2.4",
18-
"@regulaforensics/cordova-plugin-face-core-basic": "6.2.1",
16+
"@regulaforensics/cordova-plugin-face-api": "6.3.456",
17+
"@regulaforensics/ionic-native-face-api": "6.3.278",
18+
"@regulaforensics/cordova-plugin-face-core-basic": "6.3.165",
1919
"cordova-plugin-camera": "7.0.0",
2020
"@awesome-cordova-plugins/camera": "6.6.0",
2121
"@awesome-cordova-plugins/core": "6.6.0",

index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export declare class FaceCaptureConfig {
6868
closeButtonEnabled?: boolean;
6969
torchButtonEnabled?: boolean;
7070
vibrateOnSteps?: boolean;
71+
detectOcclusion?: boolean;
7172
cameraPositionAndroid?: number;
7273
cameraPositionIOS?: number;
7374
screenOrientation?: number[];
@@ -217,6 +218,7 @@ export declare class ComparedFacesSplit {
217218
}
218219
export declare class MatchFacesConfig {
219220
processingMode?: number;
221+
locationTrackingEnabled?: boolean;
220222
static fromJson(jsonObject?: any): MatchFacesConfig | undefined;
221223
}
222224
export declare class MatchFacesDetection {

index.js

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ngx/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export declare class FaceCaptureConfig {
6868
closeButtonEnabled?: boolean;
6969
torchButtonEnabled?: boolean;
7070
vibrateOnSteps?: boolean;
71+
detectOcclusion?: boolean;
7172
cameraPositionAndroid?: number;
7273
cameraPositionIOS?: number;
7374
screenOrientation?: number[];
@@ -217,6 +218,7 @@ export declare class ComparedFacesSplit {
217218
}
218219
export declare class MatchFacesConfig {
219220
processingMode?: number;
221+
locationTrackingEnabled?: boolean;
220222
static fromJson(jsonObject?: any): MatchFacesConfig | undefined;
221223
}
222224
export declare class MatchFacesDetection {

ngx/index.js

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@regulaforensics/ionic-native-face-api",
3-
"version": "6.2.4",
3+
"version": "6.3.278",
44
"description": "Ionic Native wrapper for cordova face api",
55
"main": "index.js",
66
"keywords": [

0 commit comments

Comments
 (0)