@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 CHANGED
@@ -5,7 +5,7 @@ source = File.join(__dir__, 'ios')
5
5
 
6
6
  Pod::Spec.new do |s|
7
7
  s.name = 'RNFaceSDK'
8
- s.version = '6.5.48-beta'
8
+ s.version = '6.5.55-beta'
9
9
  s.summary = package['description']
10
10
  s.license = package['license']
11
11
 
@@ -15,7 +15,7 @@
15
15
  "lint": "eslint"
16
16
  },
17
17
  "dependencies": {
18
- "@regulaforensics/face-sdk": "6.5.48-beta",
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.48-beta",
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.48-beta",
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",
@@ -12,7 +12,7 @@
12
12
  "test": "jest"
13
13
  },
14
14
  "dependencies": {
15
- "@regulaforensics/face-sdk": "6.5.48-beta",
15
+ "@regulaforensics/face-sdk": "6.5.55-beta",
16
16
  "@regulaforensics/face-core-basic": "6.3.12-beta",
17
17
  "react": "18.3.1",
18
18
  "react-native": "0.76.6",
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@regulaforensics/face-sdk",
3
- "version": "6.5.48-beta",
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.48-beta" xmlns="http://apache.org/cordova/ns/plugins/1.0">
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
- static get image() { return ImageQualityGroup._image }
310
- static _image = new _Image()
311
-
312
- static get headSizeAndPosition() { return ImageQualityGroup._headSizeAndPosition }
313
- static _headSizeAndPosition = new _HeadSizeAndPosition()
314
-
315
- static get faceImage() { return ImageQualityGroup._faceImage }
316
- static _faceImage = new _FaceImage()
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
 
package/www/cordova.js CHANGED
@@ -1771,29 +1771,14 @@ class _Background {
1771
1771
  }
1772
1772
 
1773
1773
  class ImageQualityGroup {
1774
- static get image() { return ImageQualityGroup._image }
1775
- static _image = new _Image()
1776
-
1777
- static get headSizeAndPosition() { return ImageQualityGroup._headSizeAndPosition }
1778
- static _headSizeAndPosition = new _HeadSizeAndPosition()
1779
-
1780
- static get faceImage() { return ImageQualityGroup._faceImage }
1781
- static _faceImage = new _FaceImage()
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
- static get image() { return ImageQualityGroup._image }
310
- static _image = new _Image()
311
-
312
- static get headSizeAndPosition() { return ImageQualityGroup._headSizeAndPosition }
313
- static _headSizeAndPosition = new _HeadSizeAndPosition()
314
-
315
- static get faceImage() { return ImageQualityGroup._faceImage }
316
- static _faceImage = new _FaceImage()
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
- * The Image characteristics group includes width, height, width to height proportions,
10
- * the image RGB channels number, and padding ratio.
11
- */
12
- static get image(): _Image
13
- /**
14
- * The Head size and position group includes the position of the "middle point"
15
- * relative to the width and height of the image, the head width to the image
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 {
@@ -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
  */