@regulaforensics/face-sdk 6.5.48-beta → 6.5.49-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 +3 -1
- package/plugin.xml +1 -1
- package/www/capacitor/image_quality/image_quality_group.js +64 -0
- package/www/capacitor/index.js +7 -2
- package/www/cordova.js +71 -2
- package/www/react-native/image_quality/image_quality_group.js +64 -0
- package/www/react-native/index.js +7 -2
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.49-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.49-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.49-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,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regulaforensics/face-sdk",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.49-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
|
+
"main": "www/react-native/index.js",
|
|
6
|
+
"module": "www/capacitor/index.js",
|
|
5
7
|
"types": "www/types/index.d.ts",
|
|
6
8
|
"cordova": {
|
|
7
9
|
"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.49-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,6 +306,70 @@ export class _Background {
|
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
export class ImageQualityGroup {
|
|
309
|
+
static _image;
|
|
310
|
+
static get image() {
|
|
311
|
+
if (!ImageQualityGroup._image) {
|
|
312
|
+
ImageQualityGroup._image = new _Image();
|
|
313
|
+
}
|
|
314
|
+
return ImageQualityGroup._image;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
static _headSizeAndPosition;
|
|
318
|
+
static get headSizeAndPosition() {
|
|
319
|
+
if (!ImageQualityGroup._headSizeAndPosition) {
|
|
320
|
+
ImageQualityGroup._headSizeAndPosition = new _HeadSizeAndPosition();
|
|
321
|
+
}
|
|
322
|
+
return ImageQualityGroup._headSizeAndPosition;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
static _faceImage;
|
|
326
|
+
static get faceImage() {
|
|
327
|
+
if (!ImageQualityGroup._faceImage) {
|
|
328
|
+
ImageQualityGroup._faceImage = new _FaceImage();
|
|
329
|
+
}
|
|
330
|
+
return ImageQualityGroup._faceImage;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
static _eyes;
|
|
334
|
+
static get eyes() {
|
|
335
|
+
if (!ImageQualityGroup._eyes) {
|
|
336
|
+
ImageQualityGroup._eyes = new _Eyes();
|
|
337
|
+
}
|
|
338
|
+
return ImageQualityGroup._eyes;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
static _shadowsAndLightning;
|
|
342
|
+
static get shadowsAndLightning() {
|
|
343
|
+
if (!ImageQualityGroup._shadowsAndLightning) {
|
|
344
|
+
ImageQualityGroup._shadowsAndLightning = new _ShadowsAndLightning();
|
|
345
|
+
}
|
|
346
|
+
return ImageQualityGroup._shadowsAndLightning;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
static _poseAndExpression;
|
|
350
|
+
static get poseAndExpression() {
|
|
351
|
+
if (!ImageQualityGroup._poseAndExpression) {
|
|
352
|
+
ImageQualityGroup._poseAndExpression = new _PoseAndExpression();
|
|
353
|
+
}
|
|
354
|
+
return ImageQualityGroup._poseAndExpression;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
static _headOcclusion;
|
|
358
|
+
static get headOcclusion() {
|
|
359
|
+
if (!ImageQualityGroup._headOcclusion) {
|
|
360
|
+
ImageQualityGroup._headOcclusion = new _HeadOcclusion();
|
|
361
|
+
}
|
|
362
|
+
return ImageQualityGroup._headOcclusion;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
static _background;
|
|
366
|
+
static get background() {
|
|
367
|
+
if (!ImageQualityGroup._background) {
|
|
368
|
+
ImageQualityGroup._background = new _Background();
|
|
369
|
+
}
|
|
370
|
+
return ImageQualityGroup._background;
|
|
371
|
+
}
|
|
372
|
+
|
|
309
373
|
static get image() { return ImageQualityGroup._image }
|
|
310
374
|
static _image = new _Image()
|
|
311
375
|
|
package/www/capacitor/index.js
CHANGED
|
@@ -92,8 +92,13 @@ export { EditGroupPersonsRequest, ImageUpload, PageableItemList, PersonDatabase,
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
export class FaceSDK {
|
|
95
|
-
static
|
|
96
|
-
static
|
|
95
|
+
static _instance;
|
|
96
|
+
static get instance() {
|
|
97
|
+
if (!FaceSDK._instance) {
|
|
98
|
+
FaceSDK._instance = new FaceSDK();
|
|
99
|
+
}
|
|
100
|
+
return FaceSDK._instance;
|
|
101
|
+
}
|
|
97
102
|
|
|
98
103
|
get version() { return this._version }
|
|
99
104
|
_version
|
package/www/cordova.js
CHANGED
|
@@ -1771,6 +1771,70 @@ class _Background {
|
|
|
1771
1771
|
}
|
|
1772
1772
|
|
|
1773
1773
|
class ImageQualityGroup {
|
|
1774
|
+
static _image;
|
|
1775
|
+
static get image() {
|
|
1776
|
+
if (!ImageQualityGroup._image) {
|
|
1777
|
+
ImageQualityGroup._image = new _Image();
|
|
1778
|
+
}
|
|
1779
|
+
return ImageQualityGroup._image;
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
static _headSizeAndPosition;
|
|
1783
|
+
static get headSizeAndPosition() {
|
|
1784
|
+
if (!ImageQualityGroup._headSizeAndPosition) {
|
|
1785
|
+
ImageQualityGroup._headSizeAndPosition = new _HeadSizeAndPosition();
|
|
1786
|
+
}
|
|
1787
|
+
return ImageQualityGroup._headSizeAndPosition;
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
static _faceImage;
|
|
1791
|
+
static get faceImage() {
|
|
1792
|
+
if (!ImageQualityGroup._faceImage) {
|
|
1793
|
+
ImageQualityGroup._faceImage = new _FaceImage();
|
|
1794
|
+
}
|
|
1795
|
+
return ImageQualityGroup._faceImage;
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
static _eyes;
|
|
1799
|
+
static get eyes() {
|
|
1800
|
+
if (!ImageQualityGroup._eyes) {
|
|
1801
|
+
ImageQualityGroup._eyes = new _Eyes();
|
|
1802
|
+
}
|
|
1803
|
+
return ImageQualityGroup._eyes;
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
static _shadowsAndLightning;
|
|
1807
|
+
static get shadowsAndLightning() {
|
|
1808
|
+
if (!ImageQualityGroup._shadowsAndLightning) {
|
|
1809
|
+
ImageQualityGroup._shadowsAndLightning = new _ShadowsAndLightning();
|
|
1810
|
+
}
|
|
1811
|
+
return ImageQualityGroup._shadowsAndLightning;
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
static _poseAndExpression;
|
|
1815
|
+
static get poseAndExpression() {
|
|
1816
|
+
if (!ImageQualityGroup._poseAndExpression) {
|
|
1817
|
+
ImageQualityGroup._poseAndExpression = new _PoseAndExpression();
|
|
1818
|
+
}
|
|
1819
|
+
return ImageQualityGroup._poseAndExpression;
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1822
|
+
static _headOcclusion;
|
|
1823
|
+
static get headOcclusion() {
|
|
1824
|
+
if (!ImageQualityGroup._headOcclusion) {
|
|
1825
|
+
ImageQualityGroup._headOcclusion = new _HeadOcclusion();
|
|
1826
|
+
}
|
|
1827
|
+
return ImageQualityGroup._headOcclusion;
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
static _background;
|
|
1831
|
+
static get background() {
|
|
1832
|
+
if (!ImageQualityGroup._background) {
|
|
1833
|
+
ImageQualityGroup._background = new _Background();
|
|
1834
|
+
}
|
|
1835
|
+
return ImageQualityGroup._background;
|
|
1836
|
+
}
|
|
1837
|
+
|
|
1774
1838
|
static get image() { return ImageQualityGroup._image }
|
|
1775
1839
|
static _image = new _Image()
|
|
1776
1840
|
|
|
@@ -2138,8 +2202,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2138
2202
|
|
|
2139
2203
|
|
|
2140
2204
|
class FaceSDK {
|
|
2141
|
-
static
|
|
2142
|
-
static
|
|
2205
|
+
static _instance;
|
|
2206
|
+
static get instance() {
|
|
2207
|
+
if (!FaceSDK._instance) {
|
|
2208
|
+
FaceSDK._instance = new FaceSDK();
|
|
2209
|
+
}
|
|
2210
|
+
return FaceSDK._instance;
|
|
2211
|
+
}
|
|
2143
2212
|
|
|
2144
2213
|
get version() { return this._version }
|
|
2145
2214
|
_version
|
|
@@ -306,6 +306,70 @@ export class _Background {
|
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
export class ImageQualityGroup {
|
|
309
|
+
static _image;
|
|
310
|
+
static get image() {
|
|
311
|
+
if (!ImageQualityGroup._image) {
|
|
312
|
+
ImageQualityGroup._image = new _Image();
|
|
313
|
+
}
|
|
314
|
+
return ImageQualityGroup._image;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
static _headSizeAndPosition;
|
|
318
|
+
static get headSizeAndPosition() {
|
|
319
|
+
if (!ImageQualityGroup._headSizeAndPosition) {
|
|
320
|
+
ImageQualityGroup._headSizeAndPosition = new _HeadSizeAndPosition();
|
|
321
|
+
}
|
|
322
|
+
return ImageQualityGroup._headSizeAndPosition;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
static _faceImage;
|
|
326
|
+
static get faceImage() {
|
|
327
|
+
if (!ImageQualityGroup._faceImage) {
|
|
328
|
+
ImageQualityGroup._faceImage = new _FaceImage();
|
|
329
|
+
}
|
|
330
|
+
return ImageQualityGroup._faceImage;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
static _eyes;
|
|
334
|
+
static get eyes() {
|
|
335
|
+
if (!ImageQualityGroup._eyes) {
|
|
336
|
+
ImageQualityGroup._eyes = new _Eyes();
|
|
337
|
+
}
|
|
338
|
+
return ImageQualityGroup._eyes;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
static _shadowsAndLightning;
|
|
342
|
+
static get shadowsAndLightning() {
|
|
343
|
+
if (!ImageQualityGroup._shadowsAndLightning) {
|
|
344
|
+
ImageQualityGroup._shadowsAndLightning = new _ShadowsAndLightning();
|
|
345
|
+
}
|
|
346
|
+
return ImageQualityGroup._shadowsAndLightning;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
static _poseAndExpression;
|
|
350
|
+
static get poseAndExpression() {
|
|
351
|
+
if (!ImageQualityGroup._poseAndExpression) {
|
|
352
|
+
ImageQualityGroup._poseAndExpression = new _PoseAndExpression();
|
|
353
|
+
}
|
|
354
|
+
return ImageQualityGroup._poseAndExpression;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
static _headOcclusion;
|
|
358
|
+
static get headOcclusion() {
|
|
359
|
+
if (!ImageQualityGroup._headOcclusion) {
|
|
360
|
+
ImageQualityGroup._headOcclusion = new _HeadOcclusion();
|
|
361
|
+
}
|
|
362
|
+
return ImageQualityGroup._headOcclusion;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
static _background;
|
|
366
|
+
static get background() {
|
|
367
|
+
if (!ImageQualityGroup._background) {
|
|
368
|
+
ImageQualityGroup._background = new _Background();
|
|
369
|
+
}
|
|
370
|
+
return ImageQualityGroup._background;
|
|
371
|
+
}
|
|
372
|
+
|
|
309
373
|
static get image() { return ImageQualityGroup._image }
|
|
310
374
|
static _image = new _Image()
|
|
311
375
|
|
|
@@ -92,8 +92,13 @@ export { EditGroupPersonsRequest, ImageUpload, PageableItemList, PersonDatabase,
|
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
export class FaceSDK {
|
|
95
|
-
static
|
|
96
|
-
static
|
|
95
|
+
static _instance;
|
|
96
|
+
static get instance() {
|
|
97
|
+
if (!FaceSDK._instance) {
|
|
98
|
+
FaceSDK._instance = new FaceSDK();
|
|
99
|
+
}
|
|
100
|
+
return FaceSDK._instance;
|
|
101
|
+
}
|
|
97
102
|
|
|
98
103
|
get version() { return this._version }
|
|
99
104
|
_version
|