@ahmed_hani/dot-face-auto-capture 7.4.0 → 7.6.1
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 +1 -1
- package/common/src/types/face.d.ts +1 -1
- package/dot-assets/face/dot-g8anp0DQ.js +8123 -0
- package/dot-assets/face/wasm/sam.wasm +0 -0
- package/dot-assets/face/wasm/sam_simd.wasm +0 -0
- package/events.mjs +13 -12
- package/events.umd.js +1 -1
- package/index.mjs +7860 -12428
- package/index.umd.js +38 -27
- package/package.json +4 -4
- package/ui-common/src/events/control.d.ts +2 -2
- package/ui-common/src/types/common.d.ts +14 -4
- package/ui-common/src/types/events/common.d.ts +41 -0
- package/ui-common/src/types/events/index.d.ts +1 -0
- package/ui-common/src/types/events/multi-range.d.ts +16 -0
- package/ui-common/src/types/eye-gaze.d.ts +1 -0
- package/ui-common/src/types/index.d.ts +1 -0
- package/ui-common/src/types/magnifeye.d.ts +1 -0
- package/ui-common/src/types/multi-range.d.ts +37 -0
- package/ui-common/src/types/smile.d.ts +1 -0
- package/dot-assets/face/dot-Bv3H1Zi5.js +0 -7434
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Innovatrics Face Auto Capture Component is a web component that renders the vide
|
|
|
6
6
|
The component output is a face image in the JPEG format and/or a proprietary file format for safe transfer to [Digital Identity Service](https://developers.innovatrics.com/digital-onboarding/technical/api-reference/) on server for further processing.
|
|
7
7
|
|
|
8
8
|
<p align="center">
|
|
9
|
-
<img alt="Face Auto Capture" src="https://www.innovatrics.com/wp-content/uploads/2024/03/Passive-Liveness-preview-400px.gif">
|
|
9
|
+
<img alt="Face Auto Capture" src="https://www.innovatrics.com/wp-content/uploads/2024/03/Passive-Liveness-preview-400px.gif" width="200" height="400">
|
|
10
10
|
</p>
|
|
11
11
|
|
|
12
12
|
The Face Auto Capture Component can be used in combination with other components to develop remote identity verification or digital onboarding solutions, as demonstrated in this [demo application](https://dot.innovatrics.com/).
|
|
@@ -55,7 +55,7 @@ export type FaceThresholds = {
|
|
|
55
55
|
sharpnessThreshold?: number;
|
|
56
56
|
};
|
|
57
57
|
export type PublicFaceThresholds = Omit<FaceThresholds, 'leftEye' | 'rightEye' | 'mouth'>;
|
|
58
|
-
export type FaceCameraProps<T extends Record<string, unknown> = PublicFaceThresholds> = BaseCameraProps<
|
|
58
|
+
export type FaceCameraProps<T extends Record<string, unknown> = PublicFaceThresholds> = BaseCameraProps<DetectedFace> & {
|
|
59
59
|
thresholds?: T;
|
|
60
60
|
};
|
|
61
61
|
export type FaceCallback = FaceCameraProps['onPhotoTaken'];
|