@regulaforensics/face-sdk 6.5.48-beta → 6.5.55-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/RNFaceSDK.podspec +1 -1
- package/examples/capacitor/package.json +1 -1
- package/examples/cordova/package.json +1 -1
- package/examples/ionic/package.json +1 -1
- package/examples/react-native/package.json +1 -1
- package/package.json +2 -1
- package/plugin.xml +1 -1
- package/www/capacitor/image_quality/image_quality_group.js +8 -23
- package/www/capacitor/index.js +0 -3
- package/www/cordova.js +8 -26
- package/www/react-native/image_quality/image_quality_group.js +8 -23
- package/www/react-native/index.js +0 -3
- package/www/types/image_quality/image_quality_group.d.ts +8 -43
- package/www/types/index.d.ts +0 -5
package/RNFaceSDK.podspec
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"lint": "eslint"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@regulaforensics/face-sdk": "6.5.
|
|
18
|
+
"@regulaforensics/face-sdk": "6.5.55-beta",
|
|
19
19
|
"@regulaforensics/face-core-basic": "6.3.12-beta",
|
|
20
20
|
"@awesome-cordova-plugins/camera": "6.6.0",
|
|
21
21
|
"@awesome-cordova-plugins/file": "6.6.0",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"author": "Regula Forensics Inc.",
|
|
15
15
|
"license": "commercial",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@regulaforensics/face-sdk": "6.5.
|
|
17
|
+
"@regulaforensics/face-sdk": "6.5.55-beta",
|
|
18
18
|
"@regulaforensics/face-core-basic": "6.3.12-beta",
|
|
19
19
|
"cordova-android": "13.0.0",
|
|
20
20
|
"cordova-ios": "7.1.1",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"private": true,
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@regulaforensics/face-sdk": "6.5.
|
|
19
|
+
"@regulaforensics/face-sdk": "6.5.55-beta",
|
|
20
20
|
"@regulaforensics/face-core-basic": "6.3.12-beta",
|
|
21
21
|
"cordova-plugin-camera": "8.0.0",
|
|
22
22
|
"@awesome-cordova-plugins/camera": "6.14.0",
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/face-sdk",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.55-beta",
|
|
4
4
|
"description": "This is an npm module for Regula Face SDK. It allows you to easily compaire faces using your phone's camera.",
|
|
5
|
+
"module": "www/capacitor/index.js",
|
|
5
6
|
"types": "www/types/index.d.ts",
|
|
6
7
|
"cordova": {
|
|
7
8
|
"id": "@regulaforensics/face-sdk",
|
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
|
-
<plugin id="@regulaforensics/face-sdk" version="6.5.
|
|
2
|
+
<plugin id="@regulaforensics/face-sdk" version="6.5.55-beta" xmlns="http://apache.org/cordova/ns/plugins/1.0">
|
|
3
3
|
<name>FaceSDK</name>
|
|
4
4
|
<description>Cordova plugin for Regula Face SDK</description>
|
|
5
5
|
<license>commercial</license>
|
|
@@ -306,27 +306,12 @@ export class _Background {
|
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
export class ImageQualityGroup {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
static get eyes() { return ImageQualityGroup._eyes }
|
|
319
|
-
static _eyes = new _Eyes()
|
|
320
|
-
|
|
321
|
-
static get shadowsAndLightning() { return ImageQualityGroup._shadowsAndLightning }
|
|
322
|
-
static _shadowsAndLightning = new _ShadowsAndLightning()
|
|
323
|
-
|
|
324
|
-
static get poseAndExpression() { return ImageQualityGroup._poseAndExpression }
|
|
325
|
-
static _poseAndExpression = new _PoseAndExpression()
|
|
326
|
-
|
|
327
|
-
static get headOcclusion() { return ImageQualityGroup._headOcclusion }
|
|
328
|
-
static _headOcclusion = new _HeadOcclusion()
|
|
329
|
-
|
|
330
|
-
static get background() { return ImageQualityGroup._background }
|
|
331
|
-
static _background = new _Background()
|
|
309
|
+
image = new _Image()
|
|
310
|
+
headSizeAndPosition = new _HeadSizeAndPosition()
|
|
311
|
+
faceImage = new _FaceImage()
|
|
312
|
+
eyes = new _Eyes()
|
|
313
|
+
shadowsAndLightning = new _ShadowsAndLightning()
|
|
314
|
+
poseAndExpression = new _PoseAndExpression()
|
|
315
|
+
headOcclusion = new _HeadOcclusion()
|
|
316
|
+
background = new _Background()
|
|
332
317
|
}
|
package/www/capacitor/index.js
CHANGED
|
@@ -92,9 +92,6 @@ export { EditGroupPersonsRequest, ImageUpload, PageableItemList, PersonDatabase,
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
export class FaceSDK {
|
|
95
|
-
static get instance() { return FaceSDK._instance }
|
|
96
|
-
static _instance = new FaceSDK()
|
|
97
|
-
|
|
98
95
|
get version() { return this._version }
|
|
99
96
|
_version
|
|
100
97
|
|
package/www/cordova.js
CHANGED
|
@@ -1771,29 +1771,14 @@ class _Background {
|
|
|
1771
1771
|
}
|
|
1772
1772
|
|
|
1773
1773
|
class ImageQualityGroup {
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
static get eyes() { return ImageQualityGroup._eyes }
|
|
1784
|
-
static _eyes = new _Eyes()
|
|
1785
|
-
|
|
1786
|
-
static get shadowsAndLightning() { return ImageQualityGroup._shadowsAndLightning }
|
|
1787
|
-
static _shadowsAndLightning = new _ShadowsAndLightning()
|
|
1788
|
-
|
|
1789
|
-
static get poseAndExpression() { return ImageQualityGroup._poseAndExpression }
|
|
1790
|
-
static _poseAndExpression = new _PoseAndExpression()
|
|
1791
|
-
|
|
1792
|
-
static get headOcclusion() { return ImageQualityGroup._headOcclusion }
|
|
1793
|
-
static _headOcclusion = new _HeadOcclusion()
|
|
1794
|
-
|
|
1795
|
-
static get background() { return ImageQualityGroup._background }
|
|
1796
|
-
static _background = new _Background()
|
|
1774
|
+
image = new _Image()
|
|
1775
|
+
headSizeAndPosition = new _HeadSizeAndPosition()
|
|
1776
|
+
faceImage = new _FaceImage()
|
|
1777
|
+
eyes = new _Eyes()
|
|
1778
|
+
shadowsAndLightning = new _ShadowsAndLightning()
|
|
1779
|
+
poseAndExpression = new _PoseAndExpression()
|
|
1780
|
+
headOcclusion = new _HeadOcclusion()
|
|
1781
|
+
background = new _Background()
|
|
1797
1782
|
}
|
|
1798
1783
|
|
|
1799
1784
|
/***/ }),
|
|
@@ -2138,9 +2123,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2138
2123
|
|
|
2139
2124
|
|
|
2140
2125
|
class FaceSDK {
|
|
2141
|
-
static get instance() { return FaceSDK._instance }
|
|
2142
|
-
static _instance = new FaceSDK()
|
|
2143
|
-
|
|
2144
2126
|
get version() { return this._version }
|
|
2145
2127
|
_version
|
|
2146
2128
|
|
|
@@ -306,27 +306,12 @@ export class _Background {
|
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
export class ImageQualityGroup {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
static get eyes() { return ImageQualityGroup._eyes }
|
|
319
|
-
static _eyes = new _Eyes()
|
|
320
|
-
|
|
321
|
-
static get shadowsAndLightning() { return ImageQualityGroup._shadowsAndLightning }
|
|
322
|
-
static _shadowsAndLightning = new _ShadowsAndLightning()
|
|
323
|
-
|
|
324
|
-
static get poseAndExpression() { return ImageQualityGroup._poseAndExpression }
|
|
325
|
-
static _poseAndExpression = new _PoseAndExpression()
|
|
326
|
-
|
|
327
|
-
static get headOcclusion() { return ImageQualityGroup._headOcclusion }
|
|
328
|
-
static _headOcclusion = new _HeadOcclusion()
|
|
329
|
-
|
|
330
|
-
static get background() { return ImageQualityGroup._background }
|
|
331
|
-
static _background = new _Background()
|
|
309
|
+
image = new _Image()
|
|
310
|
+
headSizeAndPosition = new _HeadSizeAndPosition()
|
|
311
|
+
faceImage = new _FaceImage()
|
|
312
|
+
eyes = new _Eyes()
|
|
313
|
+
shadowsAndLightning = new _ShadowsAndLightning()
|
|
314
|
+
poseAndExpression = new _PoseAndExpression()
|
|
315
|
+
headOcclusion = new _HeadOcclusion()
|
|
316
|
+
background = new _Background()
|
|
332
317
|
}
|
|
@@ -92,9 +92,6 @@ export { EditGroupPersonsRequest, ImageUpload, PageableItemList, PersonDatabase,
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
export class FaceSDK {
|
|
95
|
-
static get instance() { return FaceSDK._instance }
|
|
96
|
-
static _instance = new FaceSDK()
|
|
97
|
-
|
|
98
95
|
get version() { return this._version }
|
|
99
96
|
_version
|
|
100
97
|
|
|
@@ -1,50 +1,15 @@
|
|
|
1
1
|
import { ImageQualityCharacteristic } from './image_quality_characteristic'
|
|
2
2
|
import { ImageQualityRange } from './image_quality_range'
|
|
3
3
|
|
|
4
|
-
/**
|
|
5
|
-
* Image Quality characteristic group
|
|
6
|
-
*/
|
|
7
4
|
export class ImageQualityGroup {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
* width and height ratio, inter-eye distance, yaw, pitch, roll.
|
|
17
|
-
*/
|
|
18
|
-
static get headSizeAndPosition(): _HeadSizeAndPosition
|
|
19
|
-
/**
|
|
20
|
-
* The Face image quality group includes blur and noise levels, unnatural skin tone,
|
|
21
|
-
* and face dynamic range checks.
|
|
22
|
-
*/
|
|
23
|
-
static get faceImage(): _FaceImage
|
|
24
|
-
/**
|
|
25
|
-
* The Eyes characteristics group checks eyes closure, occlusion, hair coverage,
|
|
26
|
-
* red eye effect, and whether a person is looking directly at the camera.
|
|
27
|
-
*/
|
|
28
|
-
static get eyes(): _Eyes
|
|
29
|
-
/**
|
|
30
|
-
* The Shadows and lightning characteristics group checks whether a photo
|
|
31
|
-
* is too dark or overexposed, if there are glares or shadows on the face.
|
|
32
|
-
*/
|
|
33
|
-
static get shadowsAndLightning(): _ShadowsAndLightning
|
|
34
|
-
/**
|
|
35
|
-
* The Pose and expression characteristics group checks the shoulders pose,
|
|
36
|
-
* face expression, whether there is an open mouth or smile.
|
|
37
|
-
*/
|
|
38
|
-
static get poseAndExpression(): _PoseAndExpression
|
|
39
|
-
/**
|
|
40
|
-
* The Head occlusion group includes checks of glasses, face occlusion, and head coverage.
|
|
41
|
-
*/
|
|
42
|
-
static get headOcclusion(): _HeadOcclusion
|
|
43
|
-
/**
|
|
44
|
-
* The Background characteristics group checks the background uniformity,
|
|
45
|
-
* shadows on background, and other faces presence on the picture.
|
|
46
|
-
*/
|
|
47
|
-
static get background(): _Background
|
|
5
|
+
image: _Image
|
|
6
|
+
headSizeAndPosition: _HeadSizeAndPosition
|
|
7
|
+
faceImage: _FaceImage
|
|
8
|
+
eyes: _Eyes
|
|
9
|
+
shadowsAndLightning: _ShadowsAndLightning
|
|
10
|
+
poseAndExpression: _PoseAndExpression
|
|
11
|
+
headOcclusion: _HeadOcclusion
|
|
12
|
+
background: _Background
|
|
48
13
|
}
|
|
49
14
|
|
|
50
15
|
export class _Image {
|
package/www/types/index.d.ts
CHANGED
|
@@ -83,11 +83,6 @@ export { EditGroupPersonsRequest, ImageUpload, PageableItemList, PersonDatabase,
|
|
|
83
83
|
* Entry point of the Regula Face SDK.
|
|
84
84
|
*/
|
|
85
85
|
export class FaceSDK {
|
|
86
|
-
/**
|
|
87
|
-
* The only instance of singleton class {@link FaceSDK}.
|
|
88
|
-
*/
|
|
89
|
-
static get instance(): FaceSDK
|
|
90
|
-
|
|
91
86
|
/**
|
|
92
87
|
* Information about the SDK.
|
|
93
88
|
*/
|