@regulaforensics/facesdk-webclient 5.2.2 → 5.2.4
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 +10 -10
- package/dist/main/index.cjs +1 -0
- package/dist/module/index.js +1 -0
- package/lib/index.d.ts +2036 -0
- package/package.json +50 -18
- package/.eslintrc +0 -17
- package/.github/workflows/npm-publish.yml +0 -21
- package/.github/workflows/run-smoke-test.yml +0 -30
- package/.github/workflows/trivy-scan.yaml +0 -24
- package/dev.md +0 -13
- package/dist/cjs-es5/api/diagnostics-api.js +0 -199
- package/dist/cjs-es5/api/group-api.js +0 -744
- package/dist/cjs-es5/api/liveness-api.js +0 -355
- package/dist/cjs-es5/api/liveness20-api.js +0 -201
- package/dist/cjs-es5/api/matching-api.js +0 -373
- package/dist/cjs-es5/api/person-api.js +0 -929
- package/dist/cjs-es5/api/search-api.js +0 -207
- package/dist/cjs-es5/api.js +0 -32
- package/dist/cjs-es5/base.js +0 -81
- package/dist/cjs-es5/common.js +0 -235
- package/dist/cjs-es5/configuration.js +0 -45
- package/dist/cjs-es5/ext/face-sdk.js +0 -24
- package/dist/cjs-es5/ext/group-api.js +0 -47
- package/dist/cjs-es5/ext/index.js +0 -14
- package/dist/cjs-es5/ext/matching-api.js +0 -47
- package/dist/cjs-es5/ext/person-api.js +0 -58
- package/dist/cjs-es5/ext/search-api.js +0 -33
- package/dist/cjs-es5/index.js +0 -29
- package/dist/cjs-es5/models/crop.js +0 -16
- package/dist/cjs-es5/models/detect-request-attributes.js +0 -16
- package/dist/cjs-es5/models/detect-request.js +0 -16
- package/dist/cjs-es5/models/detect-response-all-of.js +0 -16
- package/dist/cjs-es5/models/detect-response.js +0 -16
- package/dist/cjs-es5/models/detect-result.js +0 -16
- package/dist/cjs-es5/models/detection-face.js +0 -16
- package/dist/cjs-es5/models/detection-quality.js +0 -16
- package/dist/cjs-es5/models/detection.js +0 -16
- package/dist/cjs-es5/models/face-align-type-quality.js +0 -29
- package/dist/cjs-es5/models/face-attribute.js +0 -37
- package/dist/cjs-es5/models/face-image-quality-align-type.js +0 -29
- package/dist/cjs-es5/models/face-image-quality-groups-strings.js +0 -32
- package/dist/cjs-es5/models/face-image-quality-groups.js +0 -32
- package/dist/cjs-es5/models/face-image-quality-status.js +0 -27
- package/dist/cjs-es5/models/face-quality-config-name.js +0 -72
- package/dist/cjs-es5/models/face-quality-scenarios.js +0 -32
- package/dist/cjs-es5/models/face-quality-status.js +0 -27
- package/dist/cjs-es5/models/face-recognition-result-code.js +0 -14
- package/dist/cjs-es5/models/face-sdkresult-code.js +0 -63
- package/dist/cjs-es5/models/face-sdkresult.js +0 -16
- package/dist/cjs-es5/models/faces-response-all-of.js +0 -16
- package/dist/cjs-es5/models/faces-response.js +0 -16
- package/dist/cjs-es5/models/group-all-of.js +0 -16
- package/dist/cjs-es5/models/group-page-all-of.js +0 -16
- package/dist/cjs-es5/models/group-page.js +0 -16
- package/dist/cjs-es5/models/group-to-create.js +0 -16
- package/dist/cjs-es5/models/group.js +0 -16
- package/dist/cjs-es5/models/image-data.js +0 -3
- package/dist/cjs-es5/models/image-fields-image.js +0 -16
- package/dist/cjs-es5/models/image-fields.js +0 -16
- package/dist/cjs-es5/models/image-page-all-of.js +0 -16
- package/dist/cjs-es5/models/image-page.js +0 -16
- package/dist/cjs-es5/models/image-source.js +0 -30
- package/dist/cjs-es5/models/image.js +0 -16
- package/dist/cjs-es5/models/index.js +0 -85
- package/dist/cjs-es5/models/liveness-transaction.js +0 -16
- package/dist/cjs-es5/models/match-and-search-request-all-of-images.js +0 -16
- package/dist/cjs-es5/models/match-and-search-request-all-of.js +0 -16
- package/dist/cjs-es5/models/match-and-search-request.js +0 -16
- package/dist/cjs-es5/models/match-and-search-response-all-of-detections.js +0 -16
- package/dist/cjs-es5/models/match-and-search-response-all-of.js +0 -16
- package/dist/cjs-es5/models/match-and-search-response.js +0 -16
- package/dist/cjs-es5/models/match-image-detection.js +0 -16
- package/dist/cjs-es5/models/match-image-result.js +0 -16
- package/dist/cjs-es5/models/match-image.js +0 -16
- package/dist/cjs-es5/models/match-request.js +0 -16
- package/dist/cjs-es5/models/match-response-all-of.js +0 -16
- package/dist/cjs-es5/models/match-response.js +0 -16
- package/dist/cjs-es5/models/operation-log.js +0 -16
- package/dist/cjs-es5/models/output-image-params.js +0 -16
- package/dist/cjs-es5/models/page.js +0 -16
- package/dist/cjs-es5/models/person-all-of.js +0 -16
- package/dist/cjs-es5/models/person-created-response.js +0 -16
- package/dist/cjs-es5/models/person-fields.js +0 -16
- package/dist/cjs-es5/models/person-with-images-all-of.js +0 -16
- package/dist/cjs-es5/models/person-with-images.js +0 -16
- package/dist/cjs-es5/models/person.js +0 -16
- package/dist/cjs-es5/models/persons-page-all-of.js +0 -16
- package/dist/cjs-es5/models/persons-page.js +0 -16
- package/dist/cjs-es5/models/process-param.js +0 -16
- package/dist/cjs-es5/models/quality-config.js +0 -16
- package/dist/cjs-es5/models/quality-detail.js +0 -16
- package/dist/cjs-es5/models/quality-details-groups.js +0 -16
- package/dist/cjs-es5/models/quality-request.js +0 -16
- package/dist/cjs-es5/models/recognize-image-all-of.js +0 -16
- package/dist/cjs-es5/models/recognize-image.js +0 -16
- package/dist/cjs-es5/models/resize-options.js +0 -16
- package/dist/cjs-es5/models/search-bad-params.js +0 -16
- package/dist/cjs-es5/models/search-detection.js +0 -16
- package/dist/cjs-es5/models/search-parameters-create-person.js +0 -16
- package/dist/cjs-es5/models/search-parameters.js +0 -16
- package/dist/cjs-es5/models/search-person-all-of.js +0 -16
- package/dist/cjs-es5/models/search-person.js +0 -16
- package/dist/cjs-es5/models/search-request-all-of.js +0 -16
- package/dist/cjs-es5/models/search-request.js +0 -16
- package/dist/cjs-es5/models/search-result-all-of.js +0 -16
- package/dist/cjs-es5/models/search-result.js +0 -16
- package/dist/cjs-es5/models/transaction-info.js +0 -16
- package/dist/cjs-es5/models/update-group.js +0 -16
- package/dist/cjs-es5/package.json +0 -1
- package/dist/esm-es5/api/diagnostics-api.js +0 -196
- package/dist/esm-es5/api/group-api.js +0 -741
- package/dist/esm-es5/api/liveness-api.js +0 -352
- package/dist/esm-es5/api/liveness20-api.js +0 -198
- package/dist/esm-es5/api/matching-api.js +0 -370
- package/dist/esm-es5/api/person-api.js +0 -926
- package/dist/esm-es5/api/search-api.js +0 -204
- package/dist/esm-es5/api.js +0 -20
- package/dist/esm-es5/base.js +0 -78
- package/dist/esm-es5/common.js +0 -232
- package/dist/esm-es5/configuration.js +0 -42
- package/dist/esm-es5/ext/face-sdk.js +0 -21
- package/dist/esm-es5/ext/group-api.js +0 -44
- package/dist/esm-es5/ext/index.js +0 -2
- package/dist/esm-es5/ext/matching-api.js +0 -44
- package/dist/esm-es5/ext/person-api.js +0 -55
- package/dist/esm-es5/ext/search-api.js +0 -30
- package/dist/esm-es5/index.js +0 -17
- package/dist/esm-es5/models/crop.js +0 -14
- package/dist/esm-es5/models/detect-request-attributes.js +0 -14
- package/dist/esm-es5/models/detect-request.js +0 -14
- package/dist/esm-es5/models/detect-response-all-of.js +0 -14
- package/dist/esm-es5/models/detect-response.js +0 -14
- package/dist/esm-es5/models/detect-result.js +0 -14
- package/dist/esm-es5/models/detection-face.js +0 -14
- package/dist/esm-es5/models/detection-quality.js +0 -14
- package/dist/esm-es5/models/detection.js +0 -14
- package/dist/esm-es5/models/face-align-type-quality.js +0 -26
- package/dist/esm-es5/models/face-attribute.js +0 -34
- package/dist/esm-es5/models/face-image-quality-align-type.js +0 -26
- package/dist/esm-es5/models/face-image-quality-groups-strings.js +0 -29
- package/dist/esm-es5/models/face-image-quality-groups.js +0 -29
- package/dist/esm-es5/models/face-image-quality-status.js +0 -24
- package/dist/esm-es5/models/face-quality-config-name.js +0 -69
- package/dist/esm-es5/models/face-quality-scenarios.js +0 -29
- package/dist/esm-es5/models/face-quality-status.js +0 -24
- package/dist/esm-es5/models/face-recognition-result-code.js +0 -14
- package/dist/esm-es5/models/face-sdkresult-code.js +0 -60
- package/dist/esm-es5/models/face-sdkresult.js +0 -14
- package/dist/esm-es5/models/faces-response-all-of.js +0 -14
- package/dist/esm-es5/models/faces-response.js +0 -14
- package/dist/esm-es5/models/group-all-of.js +0 -14
- package/dist/esm-es5/models/group-page-all-of.js +0 -14
- package/dist/esm-es5/models/group-page.js +0 -14
- package/dist/esm-es5/models/group-to-create.js +0 -14
- package/dist/esm-es5/models/group.js +0 -14
- package/dist/esm-es5/models/image-data.js +0 -1
- package/dist/esm-es5/models/image-fields-image.js +0 -14
- package/dist/esm-es5/models/image-fields.js +0 -14
- package/dist/esm-es5/models/image-page-all-of.js +0 -14
- package/dist/esm-es5/models/image-page.js +0 -14
- package/dist/esm-es5/models/image-source.js +0 -27
- package/dist/esm-es5/models/image.js +0 -14
- package/dist/esm-es5/models/index.js +0 -73
- package/dist/esm-es5/models/liveness-transaction.js +0 -14
- package/dist/esm-es5/models/match-and-search-request-all-of-images.js +0 -14
- package/dist/esm-es5/models/match-and-search-request-all-of.js +0 -14
- package/dist/esm-es5/models/match-and-search-request.js +0 -14
- package/dist/esm-es5/models/match-and-search-response-all-of-detections.js +0 -14
- package/dist/esm-es5/models/match-and-search-response-all-of.js +0 -14
- package/dist/esm-es5/models/match-and-search-response.js +0 -14
- package/dist/esm-es5/models/match-image-detection.js +0 -14
- package/dist/esm-es5/models/match-image-result.js +0 -14
- package/dist/esm-es5/models/match-image.js +0 -14
- package/dist/esm-es5/models/match-request.js +0 -14
- package/dist/esm-es5/models/match-response-all-of.js +0 -14
- package/dist/esm-es5/models/match-response.js +0 -14
- package/dist/esm-es5/models/operation-log.js +0 -14
- package/dist/esm-es5/models/output-image-params.js +0 -14
- package/dist/esm-es5/models/page.js +0 -14
- package/dist/esm-es5/models/person-all-of.js +0 -14
- package/dist/esm-es5/models/person-created-response.js +0 -14
- package/dist/esm-es5/models/person-fields.js +0 -14
- package/dist/esm-es5/models/person-with-images-all-of.js +0 -14
- package/dist/esm-es5/models/person-with-images.js +0 -14
- package/dist/esm-es5/models/person.js +0 -14
- package/dist/esm-es5/models/persons-page-all-of.js +0 -14
- package/dist/esm-es5/models/persons-page.js +0 -14
- package/dist/esm-es5/models/process-param.js +0 -14
- package/dist/esm-es5/models/quality-config.js +0 -14
- package/dist/esm-es5/models/quality-detail.js +0 -14
- package/dist/esm-es5/models/quality-details-groups.js +0 -14
- package/dist/esm-es5/models/quality-request.js +0 -14
- package/dist/esm-es5/models/recognize-image-all-of.js +0 -14
- package/dist/esm-es5/models/recognize-image.js +0 -14
- package/dist/esm-es5/models/resize-options.js +0 -14
- package/dist/esm-es5/models/search-bad-params.js +0 -14
- package/dist/esm-es5/models/search-detection.js +0 -14
- package/dist/esm-es5/models/search-parameters-create-person.js +0 -14
- package/dist/esm-es5/models/search-parameters.js +0 -14
- package/dist/esm-es5/models/search-person-all-of.js +0 -14
- package/dist/esm-es5/models/search-person.js +0 -14
- package/dist/esm-es5/models/search-request-all-of.js +0 -14
- package/dist/esm-es5/models/search-request.js +0 -14
- package/dist/esm-es5/models/search-result-all-of.js +0 -14
- package/dist/esm-es5/models/search-result.js +0 -14
- package/dist/esm-es5/models/transaction-info.js +0 -14
- package/dist/esm-es5/models/update-group.js +0 -14
- package/setup.sh +0 -7
- package/src/api/diagnostics-api.ts +0 -126
- package/src/api/group-api.ts +0 -648
- package/src/api/liveness-api.ts +0 -268
- package/src/api/liveness20-api.ts +0 -130
- package/src/api/matching-api.ts +0 -301
- package/src/api/person-api.ts +0 -821
- package/src/api/search-api.ts +0 -143
- package/src/api.ts +0 -23
- package/src/base.ts +0 -71
- package/src/common.ts +0 -138
- package/src/configuration.ts +0 -101
- package/src/ext/face-sdk.ts +0 -22
- package/src/ext/group-api.ts +0 -34
- package/src/ext/index.ts +0 -1
- package/src/ext/matching-api.ts +0 -28
- package/src/ext/person-api.ts +0 -48
- package/src/ext/search-api.ts +0 -14
- package/src/index.ts +0 -18
- package/src/models/crop.ts +0 -49
- package/src/models/detect-request-attributes.ts +0 -31
- package/src/models/detect-request.ts +0 -57
- package/src/models/detect-response-all-of.ts +0 -31
- package/src/models/detect-response.ts +0 -27
- package/src/models/detect-result.ts +0 -56
- package/src/models/detection-face.ts +0 -54
- package/src/models/detection-quality.ts +0 -57
- package/src/models/detection.ts +0 -62
- package/src/models/face-align-type-quality.ts +0 -34
- package/src/models/face-attribute.ts +0 -42
- package/src/models/face-image-quality-align-type.ts +0 -34
- package/src/models/face-image-quality-groups-strings.ts +0 -37
- package/src/models/face-image-quality-groups.ts +0 -37
- package/src/models/face-image-quality-status.ts +0 -32
- package/src/models/face-quality-config-name.ts +0 -77
- package/src/models/face-quality-scenarios.ts +0 -37
- package/src/models/face-quality-status.ts +0 -32
- package/src/models/face-recognition-result-code.ts +0 -13
- package/src/models/face-sdkresult-code.ts +0 -68
- package/src/models/face-sdkresult.ts +0 -31
- package/src/models/faces-response-all-of.ts +0 -37
- package/src/models/faces-response.ts +0 -26
- package/src/models/group-all-of.ts +0 -36
- package/src/models/group-page-all-of.ts +0 -31
- package/src/models/group-page.ts +0 -26
- package/src/models/group-to-create.ts +0 -42
- package/src/models/group.ts +0 -25
- package/src/models/image-data.ts +0 -2
- package/src/models/image-fields-image.ts +0 -50
- package/src/models/image-fields.ts +0 -62
- package/src/models/image-page-all-of.ts +0 -31
- package/src/models/image-page.ts +0 -26
- package/src/models/image-source.ts +0 -35
- package/src/models/image.ts +0 -66
- package/src/models/index.ts +0 -72
- package/src/models/liveness-transaction.ts +0 -78
- package/src/models/match-and-search-request-all-of-images.ts +0 -38
- package/src/models/match-and-search-request-all-of.ts +0 -37
- package/src/models/match-and-search-request.ts +0 -27
- package/src/models/match-and-search-response-all-of-detections.ts +0 -44
- package/src/models/match-and-search-response-all-of.ts +0 -50
- package/src/models/match-and-search-response.ts +0 -28
- package/src/models/match-image-detection.ts +0 -44
- package/src/models/match-image-result.ts +0 -73
- package/src/models/match-image.ts +0 -50
- package/src/models/match-request.ts +0 -43
- package/src/models/match-response-all-of.ts +0 -38
- package/src/models/match-response.ts +0 -28
- package/src/models/operation-log.ts +0 -42
- package/src/models/output-image-params.ts +0 -37
- package/src/models/page.ts +0 -36
- package/src/models/person-all-of.ts +0 -48
- package/src/models/person-created-response.ts +0 -43
- package/src/models/person-fields.ts +0 -48
- package/src/models/person-with-images-all-of.ts +0 -31
- package/src/models/person-with-images.ts +0 -26
- package/src/models/person.ts +0 -26
- package/src/models/persons-page-all-of.ts +0 -31
- package/src/models/persons-page.ts +0 -26
- package/src/models/process-param.ts +0 -57
- package/src/models/quality-config.ts +0 -37
- package/src/models/quality-detail.ts +0 -57
- package/src/models/quality-details-groups.ts +0 -50
- package/src/models/quality-request.ts +0 -37
- package/src/models/recognize-image-all-of.ts +0 -36
- package/src/models/recognize-image.ts +0 -25
- package/src/models/resize-options.ts +0 -42
- package/src/models/search-bad-params.ts +0 -42
- package/src/models/search-detection.ts +0 -90
- package/src/models/search-parameters-create-person.ts +0 -36
- package/src/models/search-parameters.ts +0 -37
- package/src/models/search-person-all-of.ts +0 -38
- package/src/models/search-person.ts +0 -27
- package/src/models/search-request-all-of.ts +0 -42
- package/src/models/search-request.ts +0 -28
- package/src/models/search-result-all-of.ts +0 -30
- package/src/models/search-result.ts +0 -37
- package/src/models/transaction-info.ts +0 -78
- package/src/models/update-group.ts +0 -36
- package/update-models.sh +0 -7
package/src/models/crop.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Regula FaceSDK Web API
|
|
5
|
-
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 5.2.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import { FaceImageQualityAlignType } from './face-image-quality-align-type';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Whether to return the Base64 of an aligned and cropped portrait in the crop field.
|
|
20
|
-
* @export
|
|
21
|
-
* @interface Crop
|
|
22
|
-
*/
|
|
23
|
-
export interface Crop {
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {FaceImageQualityAlignType}
|
|
27
|
-
* @memberof Crop
|
|
28
|
-
*/
|
|
29
|
-
'type'?: FaceImageQualityAlignType;
|
|
30
|
-
/**
|
|
31
|
-
* The RGB value of a color for filling background behind a person\'s silhouette and for aligning the image.
|
|
32
|
-
* @type {Array<number>}
|
|
33
|
-
* @memberof Crop
|
|
34
|
-
*/
|
|
35
|
-
'padColor'?: Array<number>;
|
|
36
|
-
/**
|
|
37
|
-
* The resize value in case type matches this value. If it doesn\'t, no resize is done.
|
|
38
|
-
* @type {Array<number>}
|
|
39
|
-
* @memberof Crop
|
|
40
|
-
*/
|
|
41
|
-
'size'?: Array<number>;
|
|
42
|
-
/**
|
|
43
|
-
* Whether to return the coordinates of the rectangle with the face in the original image prepared for the face crop.
|
|
44
|
-
* @type {boolean}
|
|
45
|
-
* @memberof Crop
|
|
46
|
-
*/
|
|
47
|
-
'returnOriginalRect'?: boolean;
|
|
48
|
-
}
|
|
49
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Regula FaceSDK Web API
|
|
5
|
-
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 5.2.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import { QualityConfig } from './quality-config';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Whether to evaluate attributes, such as age and emotions.
|
|
20
|
-
* @export
|
|
21
|
-
* @interface DetectRequestAttributes
|
|
22
|
-
*/
|
|
23
|
-
export interface DetectRequestAttributes {
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {Array<QualityConfig>}
|
|
27
|
-
* @memberof DetectRequestAttributes
|
|
28
|
-
*/
|
|
29
|
-
'config'?: Array<QualityConfig>;
|
|
30
|
-
}
|
|
31
|
-
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Regula FaceSDK Web API
|
|
5
|
-
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 5.2.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import { DetectRequestAttributes } from './detect-request-attributes';
|
|
17
|
-
import { ProcessParam } from './process-param';
|
|
18
|
-
import { ImageData } from './image-data';
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @export
|
|
23
|
-
* @interface DetectRequest
|
|
24
|
-
*/
|
|
25
|
-
export interface DetectRequest {
|
|
26
|
-
/**
|
|
27
|
-
* Session identificator.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof DetectRequest
|
|
30
|
-
*/
|
|
31
|
-
'tag'?: string;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {ProcessParam}
|
|
35
|
-
* @memberof DetectRequest
|
|
36
|
-
*/
|
|
37
|
-
'processParam'?: ProcessParam;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {ImageData}
|
|
41
|
-
* @memberof DetectRequest
|
|
42
|
-
*/
|
|
43
|
-
'image'?: ImageData;
|
|
44
|
-
/**
|
|
45
|
-
* Whether to return the cropped portrains with the detected faces.
|
|
46
|
-
* @type {boolean}
|
|
47
|
-
* @memberof DetectRequest
|
|
48
|
-
*/
|
|
49
|
-
'thumbnails'?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {DetectRequestAttributes}
|
|
53
|
-
* @memberof DetectRequest
|
|
54
|
-
*/
|
|
55
|
-
'attributes'?: DetectRequestAttributes;
|
|
56
|
-
}
|
|
57
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Regula FaceSDK Web API
|
|
5
|
-
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 5.2.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import { DetectResult } from './detect-result';
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @interface DetectResponseAllOf
|
|
22
|
-
*/
|
|
23
|
-
export interface DetectResponseAllOf {
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {DetectResult}
|
|
27
|
-
* @memberof DetectResponseAllOf
|
|
28
|
-
*/
|
|
29
|
-
'results'?: DetectResult;
|
|
30
|
-
}
|
|
31
|
-
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Regula FaceSDK Web API
|
|
5
|
-
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 5.2.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import { DetectResponseAllOf } from './detect-response-all-of';
|
|
17
|
-
import { DetectResult } from './detect-result';
|
|
18
|
-
import { FaceSDKResult } from './face-sdkresult';
|
|
19
|
-
import { FaceSDKResultCode } from './face-sdkresult-code';
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* @type DetectResponse
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
export type DetectResponse = DetectResponseAllOf & FaceSDKResult;
|
|
26
|
-
|
|
27
|
-
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Regula FaceSDK Web API
|
|
5
|
-
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 5.2.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import { Detection } from './detection';
|
|
17
|
-
import { FaceQualityScenarios } from './face-quality-scenarios';
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @export
|
|
22
|
-
* @interface DetectResult
|
|
23
|
-
*/
|
|
24
|
-
export interface DetectResult {
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Array<Detection>}
|
|
28
|
-
* @memberof DetectResult
|
|
29
|
-
*/
|
|
30
|
-
'detections': Array<Detection>;
|
|
31
|
-
/**
|
|
32
|
-
* Internal.
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof DetectResult
|
|
35
|
-
*/
|
|
36
|
-
'detectorType'?: number;
|
|
37
|
-
/**
|
|
38
|
-
* Internal.
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof DetectResult
|
|
41
|
-
*/
|
|
42
|
-
'landmarksType'?: number;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {FaceQualityScenarios}
|
|
46
|
-
* @memberof DetectResult
|
|
47
|
-
*/
|
|
48
|
-
'scenario'?: FaceQualityScenarios;
|
|
49
|
-
/**
|
|
50
|
-
* The total time taken for the detection.
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @memberof DetectResult
|
|
53
|
-
*/
|
|
54
|
-
'timer'?: number;
|
|
55
|
-
}
|
|
56
|
-
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Regula FaceSDK Web API
|
|
5
|
-
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 5.2.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface DetectionFace
|
|
21
|
-
*/
|
|
22
|
-
export interface DetectionFace {
|
|
23
|
-
/**
|
|
24
|
-
* The detected face index number.
|
|
25
|
-
* @type {number}
|
|
26
|
-
* @memberof DetectionFace
|
|
27
|
-
*/
|
|
28
|
-
'faceIndex'?: number;
|
|
29
|
-
/**
|
|
30
|
-
* Absolute coordinates (x,y) of five points of each detected face: left eye, right eye, nose, left point of lips, right point of lips.
|
|
31
|
-
* @type {Array<Array<number>>}
|
|
32
|
-
* @memberof DetectionFace
|
|
33
|
-
*/
|
|
34
|
-
'landmarks'?: Array<Array<number>>;
|
|
35
|
-
/**
|
|
36
|
-
* Angle of rotation of the face from the vertical axis, degrees.
|
|
37
|
-
* @type {number}
|
|
38
|
-
* @memberof DetectionFace
|
|
39
|
-
*/
|
|
40
|
-
'rotationAngle'?: number;
|
|
41
|
-
/**
|
|
42
|
-
* The rectangular area of a detected face that is represented by a set of four elements: the X and Y coordinates of the top-left point, and the width and height dimensions of the rectangle.
|
|
43
|
-
* @type {Array<number>}
|
|
44
|
-
* @memberof DetectionFace
|
|
45
|
-
*/
|
|
46
|
-
'roi'?: Array<number>;
|
|
47
|
-
/**
|
|
48
|
-
* Base64 of the cropped portrait.
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof DetectionFace
|
|
51
|
-
*/
|
|
52
|
-
'thumbnail'?: string;
|
|
53
|
-
}
|
|
54
|
-
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Regula FaceSDK Web API
|
|
5
|
-
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 5.2.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import { FaceQualityConfigName } from './face-quality-config-name';
|
|
17
|
-
import { QualityDetail } from './quality-detail';
|
|
18
|
-
import { QualityDetailsGroups } from './quality-details-groups';
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Field for checking the portrait quality. If it is not mentioned, no quality check is performed.
|
|
22
|
-
* @export
|
|
23
|
-
* @interface DetectionQuality
|
|
24
|
-
*/
|
|
25
|
-
export interface DetectionQuality {
|
|
26
|
-
/**
|
|
27
|
-
* The array of all the non-compliant assessment characteristics.
|
|
28
|
-
* @type {Array<FaceQualityConfigName>}
|
|
29
|
-
* @memberof DetectionQuality
|
|
30
|
-
*/
|
|
31
|
-
'nonCompliant'?: Array<FaceQualityConfigName>;
|
|
32
|
-
/**
|
|
33
|
-
* The array of the assessment results for each group of characteristics.
|
|
34
|
-
* @type {Array<QualityDetailsGroups>}
|
|
35
|
-
* @memberof DetectionQuality
|
|
36
|
-
*/
|
|
37
|
-
'detailsGroups'?: Array<QualityDetailsGroups>;
|
|
38
|
-
/**
|
|
39
|
-
* The array of the assessment characteristics that were set in the request.
|
|
40
|
-
* @type {Array<QualityDetail>}
|
|
41
|
-
* @memberof DetectionQuality
|
|
42
|
-
*/
|
|
43
|
-
'details'?: Array<QualityDetail>;
|
|
44
|
-
/**
|
|
45
|
-
* Returns the estimated portrait quality assessment result, a number from 0 to 1, where 1 is for absolute compliance.
|
|
46
|
-
* @type {number}
|
|
47
|
-
* @memberof DetectionQuality
|
|
48
|
-
*/
|
|
49
|
-
'score'?: number;
|
|
50
|
-
/**
|
|
51
|
-
* The total time the quality assessment has taken.
|
|
52
|
-
* @type {number}
|
|
53
|
-
* @memberof DetectionQuality
|
|
54
|
-
*/
|
|
55
|
-
'timer'?: number;
|
|
56
|
-
}
|
|
57
|
-
|
package/src/models/detection.ts
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Regula FaceSDK Web API
|
|
5
|
-
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 5.2.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import { DetectionQuality } from './detection-quality';
|
|
17
|
-
import { ImageData } from './image-data';
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @export
|
|
22
|
-
* @interface Detection
|
|
23
|
-
*/
|
|
24
|
-
export interface Detection {
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {ImageData}
|
|
28
|
-
* @memberof Detection
|
|
29
|
-
*/
|
|
30
|
-
'crop'?: ImageData;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {{ [key: string]: object; }}
|
|
34
|
-
* @memberof Detection
|
|
35
|
-
*/
|
|
36
|
-
'attributes'?: { [key: string]: object; };
|
|
37
|
-
/**
|
|
38
|
-
* Absolute coordinates (x,y) of five points of each detected face: left eye, right eye, nose, left point of lips, right point of lips.
|
|
39
|
-
* @type {Array<Array<number>>}
|
|
40
|
-
* @memberof Detection
|
|
41
|
-
*/
|
|
42
|
-
'landmarks': Array<Array<number>>;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {DetectionQuality}
|
|
46
|
-
* @memberof Detection
|
|
47
|
-
*/
|
|
48
|
-
'quality'?: DetectionQuality;
|
|
49
|
-
/**
|
|
50
|
-
* The rectangular area of a detected face that is represented by a set of four elements: the X and Y coordinates of the top-left point, and the width and height dimensions of the rectangle.
|
|
51
|
-
* @type {Array<number>}
|
|
52
|
-
* @memberof Detection
|
|
53
|
-
*/
|
|
54
|
-
'roi': Array<number>;
|
|
55
|
-
/**
|
|
56
|
-
* Base64 of the cropped portrait.
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof Detection
|
|
59
|
-
*/
|
|
60
|
-
'thumbnail'?: string;
|
|
61
|
-
}
|
|
62
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Regula FaceSDK Web API
|
|
5
|
-
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 4.1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* The aspect ratio according to which face alignment is performed during face detection.
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
export const FaceAlignTypeQuality = {
|
|
24
|
-
ALIGN_3x4: 0,
|
|
25
|
-
ALIGN_4x5: 1,
|
|
26
|
-
ALIGN_2x3: 2,
|
|
27
|
-
ALIGN_1x1: 3,
|
|
28
|
-
ALIGN_7x9: 4
|
|
29
|
-
} as const;
|
|
30
|
-
|
|
31
|
-
export type FaceAlignTypeQuality = typeof FaceAlignTypeQuality[keyof typeof FaceAlignTypeQuality];
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Regula FaceSDK Web API
|
|
5
|
-
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 5.2.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Face attributes.
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
export const FaceAttribute = {
|
|
24
|
-
AGE: 'Age',
|
|
25
|
-
EMOTION: 'Emotion',
|
|
26
|
-
EYE_LEFT: 'EyeLeft',
|
|
27
|
-
EYE_RIGHT: 'EyeRight',
|
|
28
|
-
SMILE: 'Smile',
|
|
29
|
-
GLASSES: 'Glasses',
|
|
30
|
-
HEAD_COVERING: 'HeadCovering',
|
|
31
|
-
FOREHEAD_COVERING: 'ForeheadCovering',
|
|
32
|
-
MOUTH: 'Mouth',
|
|
33
|
-
MEDICAL_MASK: 'MedicalMask',
|
|
34
|
-
OCCLUSION: 'Occlusion',
|
|
35
|
-
STRONG_MAKEUP: 'StrongMakeup',
|
|
36
|
-
HEADPHONES: 'Headphones'
|
|
37
|
-
} as const;
|
|
38
|
-
|
|
39
|
-
export type FaceAttribute = typeof FaceAttribute[keyof typeof FaceAttribute];
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Regula FaceSDK Web API
|
|
5
|
-
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 5.2.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* The aspect ratio according to which face alignment is performed during face detection.
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
export const FaceImageQualityAlignType = {
|
|
24
|
-
ALIGN_3x4: 0,
|
|
25
|
-
ALIGN_4x5: 1,
|
|
26
|
-
ALIGN_2x3: 2,
|
|
27
|
-
ALIGN_1x1: 3,
|
|
28
|
-
ALIGN_7x9: 4
|
|
29
|
-
} as const;
|
|
30
|
-
|
|
31
|
-
export type FaceImageQualityAlignType = typeof FaceImageQualityAlignType[keyof typeof FaceImageQualityAlignType];
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Regula FaceSDK Web API
|
|
5
|
-
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 5.2.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Face image quality group types for face image quality assessment.
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
export const FaceImageQualityGroupsStrings = {
|
|
24
|
-
IMAGE_CHARACTERISTICS: 'ImageCharacteristics',
|
|
25
|
-
HEAD_SIZE_AND_POSITIONS: 'HeadSizeAndPosition',
|
|
26
|
-
FACE_QUALITY: 'FaceQuality',
|
|
27
|
-
EYES_CHARACTERISTICS: 'EyesCharacteristics',
|
|
28
|
-
SHADOWS_AND_LIGHTNING: 'ShadowsAndLightning',
|
|
29
|
-
POSE_AND_EXPRESSION: 'PoseAndExpression',
|
|
30
|
-
HEAD_OCCLUSION: 'HeadOcclusion',
|
|
31
|
-
BACKGROUND: 'Background'
|
|
32
|
-
} as const;
|
|
33
|
-
|
|
34
|
-
export type FaceImageQualityGroupsStrings = typeof FaceImageQualityGroupsStrings[keyof typeof FaceImageQualityGroupsStrings];
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Regula FaceSDK Web API
|
|
5
|
-
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 5.2.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Face image quality group types for face image quality assessment.
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
export const FaceImageQualityGroups = {
|
|
24
|
-
IMAGE_CHARACTERISTICS: 1,
|
|
25
|
-
HEAD_SIZE_AND_POSITIONS: 2,
|
|
26
|
-
FACE_QUALITY: 3,
|
|
27
|
-
EYES_CHARACTERISTICS: 4,
|
|
28
|
-
SHADOWS_AND_LIGHTNING: 5,
|
|
29
|
-
POSE_AND_EXPRESSION: 6,
|
|
30
|
-
HEAD_OCCLUSION: 7,
|
|
31
|
-
BACKGROUND: 8
|
|
32
|
-
} as const;
|
|
33
|
-
|
|
34
|
-
export type FaceImageQualityGroups = typeof FaceImageQualityGroups[keyof typeof FaceImageQualityGroups];
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Regula FaceSDK Web API
|
|
5
|
-
* Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 5.2.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* The processing status returned for each assessed quality characteristic.
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
export const FaceImageQualityStatus = {
|
|
24
|
-
QUALITY_STATUS_FALSE: 0,
|
|
25
|
-
QUALITY_STATUS_TRUE: 1,
|
|
26
|
-
QUALITY_STATUS_UNDETERMINED: 2
|
|
27
|
-
} as const;
|
|
28
|
-
|
|
29
|
-
export type FaceImageQualityStatus = typeof FaceImageQualityStatus[keyof typeof FaceImageQualityStatus];
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|