bry-biometric-collector 2.2.18-RC01 → 2.2.18-RC02
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/README.md +13 -1
- package/dist/{DocumentCollector_c0f3d6d6_2.2.18-RC01.js → DocumentCollector_9050b732_2.2.18-RC02.js} +92 -92
- package/dist/FaceCollector_fbda99c6_2.2.18-RC02.js +2468 -0
- package/dist/{TakePictureBtn_5a4eaaa6_2.2.18-RC01.js → TakePictureBtn_a40bc646_2.2.18-RC02.js} +49 -49
- package/dist/bry-biometric-collector-main.js +1 -1
- package/dist/{en-us_178afe03_2.2.18-RC01.js → en-us_901680c0_2.2.18-RC02.js} +9 -8
- package/dist/{es-cl_ff8fb88a_2.2.18-RC01.js → es-cl_1fe1aaa9_2.2.18-RC02.js} +3 -2
- package/dist/{face_api_0e3ce8c8_2.2.18-RC01.js → face_api_0e3ce8c8_2.2.18-RC02.js} +1 -1
- package/dist/{fingersApi_e6c1bd64_2.2.18-RC01.js → fingersApi_1b9929d9_2.2.18-RC02.js} +2 -2
- package/dist/{index-no-detector_4b302e78_2.2.18-RC01.js → index-no-detector_4b302e78_2.2.18-RC02.js} +1 -1
- package/dist/index.d.ts +13 -3
- package/dist/index.js +1 -1
- package/dist/{main_e486eebd_2.2.18-RC01.js → main_22b66069_2.2.18-RC02.js} +3438 -3408
- package/dist/{pt-br_25be31c7_2.2.18-RC01.js → pt-br_bef1149f_2.2.18-RC02.js} +3 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/FaceCollector_055e89fa_2.2.18-RC01.js +0 -2429
package/README.md
CHANGED
@@ -191,6 +191,12 @@ Currently supported tag parameters:
|
|
191
191
|
|
192
192
|
Example: `show_justification_field=false`
|
193
193
|
|
194
|
+
- **min_eye_to_eye_dist**: The minimum distance between the eyes that should be accepted on face collector.
|
195
|
+
|
196
|
+
Default: `0`
|
197
|
+
|
198
|
+
Example: `min_eye_to_eye_dist=50`
|
199
|
+
|
194
200
|
### **Run-time Configuration**
|
195
201
|
|
196
202
|
#### **Functions**
|
@@ -526,10 +532,16 @@ The web component listens to and emits a few events. The events emitted are:
|
|
526
532
|
|
527
533
|
```ts
|
528
534
|
{detail: {bodyParts[{bodyPart:'FACE', data: string, livenessBlob: string *, livenessResult: string},
|
529
|
-
{bodyPart:'
|
535
|
+
{bodyPart:'FACE', resized: true, data: string}]} *
|
530
536
|
* only if liveness_enable=true
|
531
537
|
```
|
532
538
|
|
539
|
+
- **low-face-quality**: When the photo is captured and the distance between the eyes is below the minimum required (min_eye_to_eye_dist), this event is emitted.
|
540
|
+
|
541
|
+
```ts
|
542
|
+
{detail: {bodyParts[{bodyPart: 'FACE', minEyeToEyeDist: number, capturedEyeToEyeDist: number}], errorCode: string, translatedError: string}}
|
543
|
+
```
|
544
|
+
|
533
545
|
- **export-face**: When the user saves their face (by clicking finish), an event of this kind is emitted with their picture like so:
|
534
546
|
|
535
547
|
```ts
|