🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

@getyoti/react-face-capture

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@getyoti/react-face-capture - npm Package Compare versions

Comparing version

to
2.2.1-dev.1

19

CHANGELOG.md
# CHANGELOG
## v2.2.1-dev.1
### Testing features
- Added new properties to allow configuration on faceStabilityCheck
- `faceStabilityThreshold` configures how strict the stability check will be.
The minimum value is 0.4 and the maximum value is 0.9.
- `numStableFrames` determines how many frames are used for the stability check.
The minimum value is 2 and the maximum is 5.
**Note:** These properties are for testing purposes and will be removed or refactored
in future versions.
### Notices
- Improved Face validations performance.
## v2.2.0

@@ -4,0 +23,0 @@

@@ -254,2 +254,8 @@ declare module '@getyoti/react-face-capture' {

faceSelectionMethod?: FACE_SELECTION_METHOD;
/** Configures how strict the stability check will be.
* The minimum value is 0.4 and the maximum value is 0.9. */
faceStabilityThreshold: number;
/** Determines how many frames are used for the stability check.
* The minimum value is 2 and the maximum is 5. */
numStableFrames: number;
}

@@ -256,0 +262,0 @@

2

package.json
{
"name": "@getyoti/react-face-capture",
"version": "2.2.0",
"version": "2.2.1-dev.1",
"description": "Face capture module to collect picture and data for Yoti AI API",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -28,5 +28,5 @@ # Yoti Face Capture integration

| and_chr | 123 |
| chrome | 123,122,121,120 |
| chrome | 124,123,122,121 |
| edge | 123,122 |
| firefox | 124,123,122,121 |
| firefox | 125,124,123,122 |
| ios_saf | 17.4,17.3,17.2 |

@@ -133,2 +133,4 @@ | safari | 17.4,17.3,17.2,17.1 |

| faceSelectionMethod | String `center/area` | `center` | - | Defines where the main face can be placed, in the center or anywhere in the image. Note: This feature is designed for retail terminals and unsuitable for online user's face capture. It is recommend to enable `allowBackgroundFaces` when `faceSelectionMethod` is set to `area`. |
| faceStabilityThreshold | Number | 0.8 | - | Configures how strict the stability check will be. The minimum value is 0.4 and the maximum value is 0.9. |
| numStableFrames | Number | 4 | - | Determines how many frames are used for the stability check. The minimum value is 2 and the maximum is 5. |

@@ -135,0 +137,0 @@ **(\*)**

@@ -110,3 +110,3 @@ Name: react

Name: @getyoti/react-face-capture
Version: 2.2.0
Version: 2.2.1-dev.1
License: Yoti Face Capture Licence

@@ -113,0 +113,0 @@ Private: false

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet