@regulaforensics/vp-frontend-face-components 6.4.1546-nightly → 6.4.1547
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 +3 -1
- package/dist/index.d.ts +0 -12
- package/dist/main.iife.js +56 -51
- package/dist/main.js +13438 -14825
- package/package.json +2 -2
package/README.md
CHANGED
@@ -134,6 +134,7 @@ component.settings = {
|
|
134
134
|
tag: 'sessionIdValue',
|
135
135
|
retryCount: 5,
|
136
136
|
recordingProcess: 1,
|
137
|
+
workerPath: 'https://your-worker-path.com',
|
137
138
|
customization: {
|
138
139
|
fontFamily: 'Noto Sans, sans-serif',
|
139
140
|
fontSize: '16px',
|
@@ -191,7 +192,7 @@ Here are all the available settings:
|
|
191
192
|
|:--------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------:|:--------------------------------------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:|---------------------------------|
|
192
193
|
| `locale` | Language of the component. | `string` | `en` | `ru`, `en`, `de`, `pl`, `it`, `hu`, `zh`, `sk`, `uk`, `fr`, `es`, `pt`, `ar`, `nl`, `id`, `vi`, `ko`, `ms`, `ro`, `el`, `tr`, `ja`, `cs`, `th`, `hi`, `bn`, `he`, `fi`, `sv`, `da`, `hr`, `no` | `face-liveness`, `face-capture` |
|
193
194
|
| `url` | Backend URL. | `string` | `https://faceapi.regulaforensics.com/` | any url | `face-liveness` |
|
194
|
-
| `copyright` | Whether to show the Regula copyright footer. | `boolean` |
|
195
|
+
| `copyright` | Whether to show the Regula copyright footer. | `boolean` | `false` | `true`, `false` | `face-liveness`, `face-capture` |
|
195
196
|
| `cameraId` | Ability to select a camera by defining the camera ID. | `string` | `undefined` | `camera id string value` | `face-liveness`, `face-capture` |
|
196
197
|
| `changeCamera` | Whether to show the "Camera Switch" button. Note that if `livenessType = 0` (active liveness), the button will not be displayed on mobile devices regardless of the `changeCamera` setting. | `boolean` | `true` | `true`, `false` | `face-liveness`, `face-capture` |
|
197
198
|
| `startScreen` | Whether to show the Start screen with video instructions. If `true`, the start screen is shown. If `false`, no start screen is shown and instead the camera of the device is turned on automatically to capture a face. | `boolean` | `true` | `true`, `false` | `face-liveness`, `face-capture` |
|
@@ -207,6 +208,7 @@ Here are all the available settings:
|
|
207
208
|
| `holdStillDuration` | For the Capture screen, sets the duration that the user needs to stand straight and look in the camera. | `number` | `undefined` | seconds | `face-capture` |
|
208
209
|
| `timeoutInterval` | Timeout for the Capture screen. | `number` | `undefined` | seconds | `face-capture` |
|
209
210
|
| `livenessType` | You can choose a scenario for the liveness assessment. `0` - active liveness, full process that requires head rotation; `1` - passive liveness, a person is asked to only take a selfie, no head rotation required. | `number` | `0` | `0`, `1` | `face-liveness` |
|
211
|
+
| `workerPath` | The URL with path to your worker file. | `string` | `unique regula wasm url` | your URL to worker | `face-liveness`, `face-capture` |
|
210
212
|
| `detectOcclusion` | Whether to disable face occlusion hint. | `boolean` | `true` | `true`, `false` | `face-capture` |
|
211
213
|
|
212
214
|
## Customization
|
package/dist/index.d.ts
CHANGED
@@ -225,15 +225,3 @@ declare global {
|
|
225
225
|
'face-capture': CustomEvent<FaceCaptureDetailType>;
|
226
226
|
}
|
227
227
|
}
|
228
|
-
|
229
|
-
|
230
|
-
declare namespace v3 {
|
231
|
-
var DNS: string;
|
232
|
-
var URL: string;
|
233
|
-
}
|
234
|
-
|
235
|
-
|
236
|
-
declare namespace v5 {
|
237
|
-
var DNS: string;
|
238
|
-
var URL: string;
|
239
|
-
}
|