regula-facesdk-webclient 7.2.388.dev0__py3-none-any.whl → 8.1.433.dev0__py3-none-any.whl
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.
- regula/facesdk/webclient/__init__.py +5 -5
- regula/facesdk/webclient/ext/api/group_api.py +2 -27
- regula/facesdk/webclient/ext/api/match_api.py +3 -29
- regula/facesdk/webclient/ext/api/person_api.py +8 -34
- regula/facesdk/webclient/ext/api/sdk.py +5 -3
- regula/facesdk/webclient/ext/api/search_api.py +2 -6
- regula/facesdk/webclient/ext/models/detect_request.py +6 -5
- regula/facesdk/webclient/ext/models/match_image.py +3 -3
- regula/facesdk/webclient/ext/models/match_request.py +7 -5
- regula/facesdk/webclient/gen/__init__.py +349 -18
- regula/facesdk/webclient/gen/api/__init__.py +30 -3
- regula/facesdk/webclient/gen/api/group_api.py +1854 -799
- regula/facesdk/webclient/gen/api/healthcheck_api.py +475 -215
- regula/facesdk/webclient/gen/api/liveness20_api.py +565 -0
- regula/facesdk/webclient/gen/api/match_api.py +801 -355
- regula/facesdk/webclient/gen/api/person_api.py +2399 -1039
- regula/facesdk/webclient/gen/api/search_api.py +286 -130
- regula/facesdk/webclient/gen/api_client.py +577 -476
- regula/facesdk/webclient/gen/api_response.py +21 -0
- regula/facesdk/webclient/gen/configuration.py +231 -105
- regula/facesdk/webclient/gen/exceptions.py +82 -33
- regula/facesdk/webclient/gen/models/__init__.py +202 -95
- regula/facesdk/webclient/gen/models/add_image_to_person_request.py +96 -0
- regula/facesdk/webclient/gen/models/add_image_to_person_request_data.py +92 -0
- regula/facesdk/webclient/gen/models/add_image_to_person_request_image.py +92 -0
- regula/facesdk/webclient/gen/models/add_image_to_person_response.py +92 -0
- regula/facesdk/webclient/gen/models/attribute_config.py +83 -0
- regula/facesdk/webclient/gen/models/attributes_data.py +82 -0
- regula/facesdk/webclient/gen/models/crop.py +88 -0
- regula/facesdk/webclient/gen/models/detail_item.py +136 -0
- regula/facesdk/webclient/gen/models/detect_attributes_details.py +84 -0
- regula/facesdk/webclient/gen/models/detect_details_meta.py +86 -0
- regula/facesdk/webclient/gen/models/detect_meta_data.py +84 -0
- regula/facesdk/webclient/gen/models/detect_request.py +94 -0
- regula/facesdk/webclient/gen/models/detect_request_data.py +90 -0
- regula/facesdk/webclient/gen/models/detect_response.py +89 -0
- regula/facesdk/webclient/gen/models/detect_response_results.py +86 -0
- regula/facesdk/webclient/gen/models/detect_result.py +98 -0
- regula/facesdk/webclient/gen/models/detection.py +98 -0
- regula/facesdk/webclient/gen/models/detection_attributes.py +92 -0
- regula/facesdk/webclient/gen/models/detection_attributes_details_inner.py +132 -0
- regula/facesdk/webclient/gen/models/detection_face.py +90 -0
- regula/facesdk/webclient/gen/models/detection_quality.py +107 -0
- regula/facesdk/webclient/gen/models/device_info.py +111 -0
- regula/facesdk/webclient/gen/models/face_attribute.py +40 -0
- regula/facesdk/webclient/gen/models/face_image_quality_align_type.py +32 -0
- regula/facesdk/webclient/gen/models/face_image_quality_groups.py +35 -0
- regula/facesdk/webclient/gen/models/face_image_quality_groups_strings.py +35 -0
- regula/facesdk/webclient/gen/models/face_image_quality_status.py +30 -0
- regula/facesdk/webclient/gen/models/face_quality_config_name.py +75 -0
- regula/facesdk/webclient/gen/models/face_quality_scenarios.py +37 -0
- regula/facesdk/webclient/gen/models/face_sdk_result.py +83 -0
- regula/facesdk/webclient/gen/models/face_sdk_result_code.py +68 -0
- regula/facesdk/webclient/gen/models/faces_response.py +100 -0
- regula/facesdk/webclient/gen/models/faces_response_data.py +90 -0
- regula/facesdk/webclient/gen/models/filter_op.py +29 -0
- regula/facesdk/webclient/gen/models/filter_search_request.py +87 -0
- regula/facesdk/webclient/gen/models/group.py +89 -0
- regula/facesdk/webclient/gen/models/group_data.py +85 -0
- regula/facesdk/webclient/gen/models/group_page.py +94 -0
- regula/facesdk/webclient/gen/models/group_page_items.py +90 -0
- regula/facesdk/webclient/gen/models/group_response.py +84 -0
- regula/facesdk/webclient/gen/models/group_to_create.py +86 -0
- regula/facesdk/webclient/gen/models/image.py +96 -0
- regula/facesdk/webclient/gen/models/image_fields.py +100 -0
- regula/facesdk/webclient/gen/models/image_fields_image.py +92 -0
- regula/facesdk/webclient/gen/models/image_page.py +94 -0
- regula/facesdk/webclient/gen/models/image_page_items.py +90 -0
- regula/facesdk/webclient/gen/models/image_source.py +34 -0
- regula/facesdk/webclient/gen/models/liveness_type.py +29 -0
- regula/facesdk/webclient/gen/models/match_and_search_request.py +103 -0
- regula/facesdk/webclient/gen/models/match_and_search_request_images_item.py +87 -0
- regula/facesdk/webclient/gen/models/match_and_search_response.py +107 -0
- regula/facesdk/webclient/gen/models/match_and_search_response_data.py +104 -0
- regula/facesdk/webclient/gen/models/match_and_search_response_data_detections_item.py +95 -0
- regula/facesdk/webclient/gen/models/match_image.py +89 -0
- regula/facesdk/webclient/gen/models/match_image_detection.py +95 -0
- regula/facesdk/webclient/gen/models/match_image_result.py +97 -0
- regula/facesdk/webclient/gen/models/match_request.py +102 -0
- regula/facesdk/webclient/gen/models/match_request_data.py +98 -0
- regula/facesdk/webclient/gen/models/match_response.py +105 -0
- regula/facesdk/webclient/gen/models/match_response_data.py +102 -0
- regula/facesdk/webclient/gen/models/operation_log.py +88 -0
- regula/facesdk/webclient/gen/models/output_image_params.py +89 -0
- regula/facesdk/webclient/gen/models/page.py +84 -0
- regula/facesdk/webclient/gen/models/person.py +97 -0
- regula/facesdk/webclient/gen/models/person_data.py +87 -0
- regula/facesdk/webclient/gen/models/person_fields.py +91 -0
- regula/facesdk/webclient/gen/models/person_items.py +90 -0
- regula/facesdk/webclient/gen/models/person_to_update_fields.py +89 -0
- regula/facesdk/webclient/gen/models/person_with_images.py +107 -0
- regula/facesdk/webclient/gen/models/person_with_images_data.py +90 -0
- regula/facesdk/webclient/gen/models/persons_page.py +94 -0
- regula/facesdk/webclient/gen/models/process_param.py +103 -0
- regula/facesdk/webclient/gen/models/process_param_attributes.py +90 -0
- regula/facesdk/webclient/gen/models/quality_config.py +86 -0
- regula/facesdk/webclient/gen/models/quality_detail.py +94 -0
- regula/facesdk/webclient/gen/models/quality_details_groups.py +90 -0
- regula/facesdk/webclient/gen/models/quality_request.py +93 -0
- regula/facesdk/webclient/gen/models/recognize_image.py +100 -0
- regula/facesdk/webclient/gen/models/recognize_image_data.py +84 -0
- regula/facesdk/webclient/gen/models/resize_options.py +86 -0
- regula/facesdk/webclient/gen/models/search_bad_params.py +86 -0
- regula/facesdk/webclient/gen/models/search_detection.py +102 -0
- regula/facesdk/webclient/gen/models/search_parameters.py +95 -0
- regula/facesdk/webclient/gen/models/search_parameters_create_person.py +86 -0
- regula/facesdk/webclient/gen/models/search_person.py +113 -0
- regula/facesdk/webclient/gen/models/search_person_data.py +96 -0
- regula/facesdk/webclient/gen/models/search_request.py +119 -0
- regula/facesdk/webclient/gen/models/search_result.py +92 -0
- regula/facesdk/webclient/gen/models/transaction_info.py +99 -0
- regula/facesdk/webclient/gen/models/transaction_labels.py +84 -0
- regula/facesdk/webclient/gen/models/update_group.py +85 -0
- regula/facesdk/webclient/gen/py.typed +0 -0
- regula/facesdk/webclient/gen/rest.py +136 -232
- {regula_facesdk_webclient-7.2.388.dev0.dist-info → regula_facesdk_webclient-8.1.433.dev0.dist-info}/METADATA +7 -4
- regula_facesdk_webclient-8.1.433.dev0.dist-info/RECORD +125 -0
- {regula_facesdk_webclient-7.2.388.dev0.dist-info → regula_facesdk_webclient-8.1.433.dev0.dist-info}/WHEEL +1 -1
- regula/facesdk/webclient/gen/api/diagnostics_api.py +0 -162
- regula/facesdk/webclient/gen/api/liveness_2_0_api.py +0 -306
- regula/facesdk/webclient/gen/api/liveness_api.py +0 -424
- regula/facesdk/webclient/gen/apis/__init__.py +0 -22
- regula/facesdk/webclient/gen/model/__init__.py +0 -5
- regula/facesdk/webclient/gen/model/add_image_to_person_request.py +0 -261
- regula/facesdk/webclient/gen/model/add_image_to_person_request_image.py +0 -204
- regula/facesdk/webclient/gen/model/add_image_to_person_response.py +0 -262
- regula/facesdk/webclient/gen/model/attribute_config.py +0 -120
- regula/facesdk/webclient/gen/model/attribute_config_list.py +0 -92
- regula/facesdk/webclient/gen/model/crop.py +0 -180
- regula/facesdk/webclient/gen/model/detect_attributes_details.py +0 -150
- regula/facesdk/webclient/gen/model/detect_details_meta.py +0 -178
- regula/facesdk/webclient/gen/model/detect_request.py +0 -232
- regula/facesdk/webclient/gen/model/detect_request_attributes.py +0 -120
- regula/facesdk/webclient/gen/model/detect_response.py +0 -147
- regula/facesdk/webclient/gen/model/detect_response_all_of.py +0 -120
- regula/facesdk/webclient/gen/model/detect_result.py +0 -235
- regula/facesdk/webclient/gen/model/detection.py +0 -230
- regula/facesdk/webclient/gen/model/detection_attributes.py +0 -150
- regula/facesdk/webclient/gen/model/detection_face.py +0 -232
- regula/facesdk/webclient/gen/model/detection_quality.py +0 -234
- regula/facesdk/webclient/gen/model/device_info.py +0 -231
- regula/facesdk/webclient/gen/model/face_align_type_quality.py +0 -109
- regula/facesdk/webclient/gen/model/face_attribute.py +0 -133
- regula/facesdk/webclient/gen/model/face_image_quality_align_type.py +0 -109
- regula/facesdk/webclient/gen/model/face_image_quality_groups.py +0 -118
- regula/facesdk/webclient/gen/model/face_image_quality_groups_strings.py +0 -118
- regula/facesdk/webclient/gen/model/face_image_quality_status.py +0 -103
- regula/facesdk/webclient/gen/model/face_quality_config_name.py +0 -238
- regula/facesdk/webclient/gen/model/face_quality_scenarios.py +0 -124
- regula/facesdk/webclient/gen/model/face_quality_status.py +0 -103
- regula/facesdk/webclient/gen/model/face_rectangular.py +0 -92
- regula/facesdk/webclient/gen/model/face_sdk_result.py +0 -121
- regula/facesdk/webclient/gen/model/face_sdk_result_code.py +0 -217
- regula/facesdk/webclient/gen/model/faces_response.py +0 -258
- regula/facesdk/webclient/gen/model/faces_response_all_of.py +0 -148
- regula/facesdk/webclient/gen/model/filter_op.py +0 -100
- regula/facesdk/webclient/gen/model/filter_search_request.py +0 -176
- regula/facesdk/webclient/gen/model/group.py +0 -206
- regula/facesdk/webclient/gen/model/group_all_of.py +0 -150
- regula/facesdk/webclient/gen/model/group_page.py +0 -178
- regula/facesdk/webclient/gen/model/group_page_all_of.py +0 -122
- regula/facesdk/webclient/gen/model/group_response.py +0 -150
- regula/facesdk/webclient/gen/model/group_to_create.py +0 -180
- regula/facesdk/webclient/gen/model/image.py +0 -318
- regula/facesdk/webclient/gen/model/image_fields.py +0 -258
- regula/facesdk/webclient/gen/model/image_fields_image.py +0 -204
- regula/facesdk/webclient/gen/model/image_page.py +0 -176
- regula/facesdk/webclient/gen/model/image_page_all_of.py +0 -120
- regula/facesdk/webclient/gen/model/image_source.py +0 -115
- regula/facesdk/webclient/gen/model/liveness_transaction.py +0 -334
- regula/facesdk/webclient/gen/model/liveness_type.py +0 -100
- regula/facesdk/webclient/gen/model/match_and_search_request.py +0 -290
- regula/facesdk/webclient/gen/model/match_and_search_request_all_of.py +0 -234
- regula/facesdk/webclient/gen/model/match_and_search_request_all_of_images.py +0 -148
- regula/facesdk/webclient/gen/model/match_and_search_request_images.py +0 -176
- regula/facesdk/webclient/gen/model/match_and_search_response.py +0 -233
- regula/facesdk/webclient/gen/model/match_and_search_response_all_of.py +0 -206
- regula/facesdk/webclient/gen/model/match_and_search_response_all_of_detections.py +0 -176
- regula/facesdk/webclient/gen/model/match_image.py +0 -205
- regula/facesdk/webclient/gen/model/match_image_detection.py +0 -178
- regula/facesdk/webclient/gen/model/match_image_result.py +0 -316
- regula/facesdk/webclient/gen/model/match_request.py +0 -233
- regula/facesdk/webclient/gen/model/match_request_output_image_params.py +0 -148
- regula/facesdk/webclient/gen/model/match_request_output_image_params_crop.py +0 -212
- regula/facesdk/webclient/gen/model/match_response.py +0 -205
- regula/facesdk/webclient/gen/model/match_response_all_of.py +0 -178
- regula/facesdk/webclient/gen/model/operation_log.py +0 -206
- regula/facesdk/webclient/gen/model/output_image_params.py +0 -146
- regula/facesdk/webclient/gen/model/page.py +0 -150
- regula/facesdk/webclient/gen/model/person.py +0 -319
- regula/facesdk/webclient/gen/model/person_all_of.py +0 -206
- regula/facesdk/webclient/gen/model/person_created_response.py +0 -178
- regula/facesdk/webclient/gen/model/person_fields.py +0 -235
- regula/facesdk/webclient/gen/model/person_to_update_fields.py +0 -206
- regula/facesdk/webclient/gen/model/person_with_images.py +0 -347
- regula/facesdk/webclient/gen/model/person_with_images_all_of.py +0 -122
- regula/facesdk/webclient/gen/model/persons_page.py +0 -176
- regula/facesdk/webclient/gen/model/persons_page_all_of.py +0 -120
- regula/facesdk/webclient/gen/model/persons_request.py +0 -291
- regula/facesdk/webclient/gen/model/persons_request_all_of.py +0 -150
- regula/facesdk/webclient/gen/model/process_param.py +0 -226
- regula/facesdk/webclient/gen/model/process_param_attributes.py +0 -120
- regula/facesdk/webclient/gen/model/quality_config.py +0 -154
- regula/facesdk/webclient/gen/model/quality_config_list.py +0 -92
- regula/facesdk/webclient/gen/model/quality_detail.py +0 -234
- regula/facesdk/webclient/gen/model/quality_details_groups.py +0 -202
- regula/facesdk/webclient/gen/model/quality_request.py +0 -146
- regula/facesdk/webclient/gen/model/recognize_image.py +0 -374
- regula/facesdk/webclient/gen/model/recognize_image_all_of.py +0 -150
- regula/facesdk/webclient/gen/model/resize_options.py +0 -178
- regula/facesdk/webclient/gen/model/rgb.py +0 -92
- regula/facesdk/webclient/gen/model/search_bad_params.py +0 -172
- regula/facesdk/webclient/gen/model/search_detection.py +0 -398
- regula/facesdk/webclient/gen/model/search_parameters.py +0 -174
- regula/facesdk/webclient/gen/model/search_parameters_create_person.py +0 -177
- regula/facesdk/webclient/gen/model/search_person.py +0 -373
- regula/facesdk/webclient/gen/model/search_person_all_of.py +0 -148
- regula/facesdk/webclient/gen/model/search_request.py +0 -394
- regula/facesdk/webclient/gen/model/search_request_all_of.py +0 -150
- regula/facesdk/webclient/gen/model/search_result.py +0 -150
- regula/facesdk/webclient/gen/model/search_result_all_of.py +0 -122
- regula/facesdk/webclient/gen/model/transaction_config.py +0 -92
- regula/facesdk/webclient/gen/model/transaction_info.py +0 -344
- regula/facesdk/webclient/gen/model/update_group.py +0 -150
- regula/facesdk/webclient/gen/model_utils.py +0 -2037
- regula_facesdk_webclient-7.2.388.dev0.dist-info/RECORD +0 -138
- {regula_facesdk_webclient-7.2.388.dev0.dist-info → regula_facesdk_webclient-8.1.433.dev0.dist-info}/top_level.txt +0 -0
|
@@ -1,238 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Regula Face SDK Web API
|
|
5
|
-
|
|
6
|
-
<a href=\"https://regulaforensics.com/products/face-recognition-sdk/ \" target=\"_blank\">Regula Face SDK</a> is a cross-platform biometric verification solution for a digital identity verification process and image quality assurance. The SDK enables convenient and reliable face capture on the client side (mobile, web, and desktop) and further processing on the client or server side. The Face SDK includes the following features: * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-detection\" target=\"_blank\">Face detection and image quality assessment</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-comparison-11\" target=\"_blank\">Face match (1:1)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-identification-1n\" target=\"_blank\">Face search (1:N)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#liveness-assessment\" target=\"_blank\">Liveness detection</a> Here is the <a href=\"https://github.com/regulaforensics/FaceSDK-web-openapi \" target=\"_blank\">OpenAPI specification on GitHub</a>. ### 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 # noqa: E501
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 7.2.0
|
|
9
|
-
Generated by: https://openapi-generator.tech
|
|
10
|
-
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import pprint
|
|
14
|
-
import re # noqa: F401
|
|
15
|
-
|
|
16
|
-
import six
|
|
17
|
-
|
|
18
|
-
from regula.facesdk.webclient.gen.configuration import Configuration
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
class FaceQualityConfigName(object):
|
|
22
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
23
|
-
Ref: https://openapi-generator.tech
|
|
24
|
-
|
|
25
|
-
Do not edit the class manually.
|
|
26
|
-
"""
|
|
27
|
-
|
|
28
|
-
""
|
|
29
|
-
IMAGE_WIDTH = "ImageWidth"
|
|
30
|
-
|
|
31
|
-
""
|
|
32
|
-
IMAGE_HEIGHT = "ImageHeight"
|
|
33
|
-
|
|
34
|
-
""
|
|
35
|
-
IMAGE_WIDTH_TO_HEIGHT = "ImageWidthToHeight"
|
|
36
|
-
|
|
37
|
-
""
|
|
38
|
-
IMAGE_CHANNELS_NUMBER = "ImageChannelsNumber"
|
|
39
|
-
|
|
40
|
-
""
|
|
41
|
-
PADDING_RATIO = "PaddingRatio"
|
|
42
|
-
|
|
43
|
-
""
|
|
44
|
-
FACE_MID_POINT_HORIZONTAL_POSITION = "FaceMidPointHorizontalPosition"
|
|
45
|
-
|
|
46
|
-
""
|
|
47
|
-
FACE_MID_POINT_VERTICAL_POSITION = "FaceMidPointVerticalPosition"
|
|
48
|
-
|
|
49
|
-
""
|
|
50
|
-
HEAD_WIDTH_RATIO = "HeadWidthRatio"
|
|
51
|
-
|
|
52
|
-
""
|
|
53
|
-
HEAD_HEIGHT_RATIO = "HeadHeightRatio"
|
|
54
|
-
|
|
55
|
-
""
|
|
56
|
-
EYES_DISTANCE = "EyesDistance"
|
|
57
|
-
|
|
58
|
-
""
|
|
59
|
-
YAW = "Yaw"
|
|
60
|
-
|
|
61
|
-
""
|
|
62
|
-
PITCH = "Pitch"
|
|
63
|
-
|
|
64
|
-
""
|
|
65
|
-
ROLL = "Roll"
|
|
66
|
-
|
|
67
|
-
""
|
|
68
|
-
BLUR_LEVEL = "BlurLevel"
|
|
69
|
-
|
|
70
|
-
""
|
|
71
|
-
NOISE_LEVEL = "NoiseLevel"
|
|
72
|
-
|
|
73
|
-
""
|
|
74
|
-
EYE_RIGHT_CLOSED = "EyeRightClosed"
|
|
75
|
-
|
|
76
|
-
""
|
|
77
|
-
EYE_LEFT_CLOSED = "EyeLeftClosed"
|
|
78
|
-
|
|
79
|
-
""
|
|
80
|
-
EYE_RIGHT_OCCLUDED = "EyeRightOccluded"
|
|
81
|
-
|
|
82
|
-
""
|
|
83
|
-
EYE_LEFT_OCCLUDED = "EyeLeftOccluded"
|
|
84
|
-
|
|
85
|
-
""
|
|
86
|
-
EYES_RED = "EyesRed"
|
|
87
|
-
|
|
88
|
-
""
|
|
89
|
-
EYE_RIGHT_COVERED_WITH_HAIR = "EyeRightCoveredWithHair"
|
|
90
|
-
|
|
91
|
-
""
|
|
92
|
-
EYE_LEFT_COVERED_WITH_HAIR = "EyeLeftCoveredWithHair"
|
|
93
|
-
|
|
94
|
-
""
|
|
95
|
-
OFF_GAZE = "OffGaze"
|
|
96
|
-
|
|
97
|
-
""
|
|
98
|
-
FACE_DYNAMIC_RANGE = "FaceDynamicRange"
|
|
99
|
-
|
|
100
|
-
""
|
|
101
|
-
UNNATURAL_SKIN_TONE = "UnnaturalSkinTone"
|
|
102
|
-
|
|
103
|
-
""
|
|
104
|
-
TOO_DARK = "TooDark"
|
|
105
|
-
|
|
106
|
-
""
|
|
107
|
-
TOO_LIGHT = "TooLight"
|
|
108
|
-
|
|
109
|
-
""
|
|
110
|
-
FACE_GLARE = "FaceGlare"
|
|
111
|
-
|
|
112
|
-
""
|
|
113
|
-
SHADOWS_ON_FACE = "ShadowsOnFace"
|
|
114
|
-
|
|
115
|
-
""
|
|
116
|
-
DARK_GLASSES = "DarkGlasses"
|
|
117
|
-
|
|
118
|
-
""
|
|
119
|
-
REFLECTION_ON_GLASSES = "ReflectionOnGlasses"
|
|
120
|
-
|
|
121
|
-
""
|
|
122
|
-
FRAMES_TOO_HEAVY = "FramesTooHeavy"
|
|
123
|
-
|
|
124
|
-
""
|
|
125
|
-
FACE_OCCLUDED = "FaceOccluded"
|
|
126
|
-
|
|
127
|
-
""
|
|
128
|
-
HEAD_COVERING = "HeadCovering"
|
|
129
|
-
|
|
130
|
-
""
|
|
131
|
-
BACKGROUND_UNIFORMITY = "BackgroundUniformity"
|
|
132
|
-
|
|
133
|
-
""
|
|
134
|
-
SHADOWS_ON_BACKGROUND = "ShadowsOnBackground"
|
|
135
|
-
|
|
136
|
-
""
|
|
137
|
-
OTHER_FACES = "OtherFaces"
|
|
138
|
-
|
|
139
|
-
""
|
|
140
|
-
SHOULDERS_POSE = "ShouldersPose"
|
|
141
|
-
|
|
142
|
-
""
|
|
143
|
-
EXPRESSION_LEVEL = "ExpressionLevel"
|
|
144
|
-
|
|
145
|
-
""
|
|
146
|
-
MOUTH_OPEN = "MouthOpen"
|
|
147
|
-
|
|
148
|
-
""
|
|
149
|
-
FOREHEAD_COVERING = "ForeheadCovering"
|
|
150
|
-
|
|
151
|
-
""
|
|
152
|
-
SMILE = "Smile"
|
|
153
|
-
|
|
154
|
-
""
|
|
155
|
-
STRONG_MAKEUP = "StrongMakeup"
|
|
156
|
-
|
|
157
|
-
""
|
|
158
|
-
HEADPHONES = "Headphones"
|
|
159
|
-
|
|
160
|
-
""
|
|
161
|
-
MEDICAL_MASK = "MedicalMask"
|
|
162
|
-
|
|
163
|
-
""
|
|
164
|
-
BACKGROUND_COLOR_MATCH = "BackgroundColorMatch"
|
|
165
|
-
|
|
166
|
-
""
|
|
167
|
-
ART_FACE = "ArtFace"
|
|
168
|
-
|
|
169
|
-
""
|
|
170
|
-
CONTACT_LENSES = "ContactLenses"
|
|
171
|
-
|
|
172
|
-
allowable_values = [IMAGE_WIDTH, IMAGE_HEIGHT, IMAGE_WIDTH_TO_HEIGHT, IMAGE_CHANNELS_NUMBER, PADDING_RATIO, FACE_MID_POINT_HORIZONTAL_POSITION, FACE_MID_POINT_VERTICAL_POSITION, HEAD_WIDTH_RATIO, HEAD_HEIGHT_RATIO, EYES_DISTANCE, YAW, PITCH, ROLL, BLUR_LEVEL, NOISE_LEVEL, EYE_RIGHT_CLOSED, EYE_LEFT_CLOSED, EYE_RIGHT_OCCLUDED, EYE_LEFT_OCCLUDED, EYES_RED, EYE_RIGHT_COVERED_WITH_HAIR, EYE_LEFT_COVERED_WITH_HAIR, OFF_GAZE, FACE_DYNAMIC_RANGE, UNNATURAL_SKIN_TONE, TOO_DARK, TOO_LIGHT, FACE_GLARE, SHADOWS_ON_FACE, DARK_GLASSES, REFLECTION_ON_GLASSES, FRAMES_TOO_HEAVY, FACE_OCCLUDED, HEAD_COVERING, BACKGROUND_UNIFORMITY, SHADOWS_ON_BACKGROUND, OTHER_FACES, SHOULDERS_POSE, EXPRESSION_LEVEL, MOUTH_OPEN, FOREHEAD_COVERING, SMILE, STRONG_MAKEUP, HEADPHONES, MEDICAL_MASK, BACKGROUND_COLOR_MATCH, ART_FACE, CONTACT_LENSES] # noqa: E501
|
|
173
|
-
|
|
174
|
-
"""
|
|
175
|
-
Attributes:
|
|
176
|
-
openapi_types (dict): The key is attribute name
|
|
177
|
-
and the value is attribute type.
|
|
178
|
-
attribute_map (dict): The key is attribute name
|
|
179
|
-
and the value is json key in definition.
|
|
180
|
-
"""
|
|
181
|
-
openapi_types = {
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
attribute_map = {
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
def __init__(self, local_vars_configuration=None): # noqa: E501
|
|
188
|
-
"""FaceQualityConfigName - a model defined in OpenAPI""" # noqa: E501
|
|
189
|
-
if local_vars_configuration is None:
|
|
190
|
-
local_vars_configuration = Configuration()
|
|
191
|
-
self.local_vars_configuration = local_vars_configuration
|
|
192
|
-
self.discriminator = None
|
|
193
|
-
|
|
194
|
-
def to_dict(self):
|
|
195
|
-
"""Returns the model properties as a dict"""
|
|
196
|
-
result = {}
|
|
197
|
-
|
|
198
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
|
199
|
-
value = getattr(self, attr)
|
|
200
|
-
if isinstance(value, list):
|
|
201
|
-
result[attr] = list(map(
|
|
202
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
203
|
-
value
|
|
204
|
-
))
|
|
205
|
-
elif hasattr(value, "to_dict"):
|
|
206
|
-
result[attr] = value.to_dict()
|
|
207
|
-
elif isinstance(value, dict):
|
|
208
|
-
result[attr] = dict(map(
|
|
209
|
-
lambda item: (item[0], item[1].to_dict())
|
|
210
|
-
if hasattr(item[1], "to_dict") else item,
|
|
211
|
-
value.items()
|
|
212
|
-
))
|
|
213
|
-
else:
|
|
214
|
-
result[attr] = value
|
|
215
|
-
|
|
216
|
-
return result
|
|
217
|
-
|
|
218
|
-
def to_str(self):
|
|
219
|
-
"""Returns the string representation of the model"""
|
|
220
|
-
return pprint.pformat(self.to_dict())
|
|
221
|
-
|
|
222
|
-
def __repr__(self):
|
|
223
|
-
"""For `print` and `pprint`"""
|
|
224
|
-
return self.to_str()
|
|
225
|
-
|
|
226
|
-
def __eq__(self, other):
|
|
227
|
-
"""Returns true if both objects are equal"""
|
|
228
|
-
if not isinstance(other, FaceQualityConfigName):
|
|
229
|
-
return False
|
|
230
|
-
|
|
231
|
-
return self.to_dict() == other.to_dict()
|
|
232
|
-
|
|
233
|
-
def __ne__(self, other):
|
|
234
|
-
"""Returns true if both objects are not equal"""
|
|
235
|
-
if not isinstance(other, FaceQualityConfigName):
|
|
236
|
-
return True
|
|
237
|
-
|
|
238
|
-
return self.to_dict() != other.to_dict()
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Regula Face SDK Web API
|
|
5
|
-
|
|
6
|
-
<a href=\"https://regulaforensics.com/products/face-recognition-sdk/ \" target=\"_blank\">Regula Face SDK</a> is a cross-platform biometric verification solution for a digital identity verification process and image quality assurance. The SDK enables convenient and reliable face capture on the client side (mobile, web, and desktop) and further processing on the client or server side. The Face SDK includes the following features: * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-detection\" target=\"_blank\">Face detection and image quality assessment</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-comparison-11\" target=\"_blank\">Face match (1:1)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-identification-1n\" target=\"_blank\">Face search (1:N)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#liveness-assessment\" target=\"_blank\">Liveness detection</a> Here is the <a href=\"https://github.com/regulaforensics/FaceSDK-web-openapi \" target=\"_blank\">OpenAPI specification on GitHub</a>. ### 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 # noqa: E501
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 7.2.0
|
|
9
|
-
Generated by: https://openapi-generator.tech
|
|
10
|
-
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import pprint
|
|
14
|
-
import re # noqa: F401
|
|
15
|
-
|
|
16
|
-
import six
|
|
17
|
-
|
|
18
|
-
from regula.facesdk.webclient.gen.configuration import Configuration
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
class FaceQualityScenarios(object):
|
|
22
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
23
|
-
Ref: https://openapi-generator.tech
|
|
24
|
-
|
|
25
|
-
Do not edit the class manually.
|
|
26
|
-
"""
|
|
27
|
-
|
|
28
|
-
""
|
|
29
|
-
OLD_MODE = "OldMode"
|
|
30
|
-
|
|
31
|
-
""
|
|
32
|
-
QUALITY_FULL = "QualityFull"
|
|
33
|
-
|
|
34
|
-
""
|
|
35
|
-
QUALITY_ICAO = "QualityICAO"
|
|
36
|
-
|
|
37
|
-
""
|
|
38
|
-
QUALITY_VISA_SCHENGEN = "QualityVisaSchengen"
|
|
39
|
-
|
|
40
|
-
""
|
|
41
|
-
QUALITY_VISA_USA = "QualityVisaUSA"
|
|
42
|
-
|
|
43
|
-
""
|
|
44
|
-
CROP_CENTRAL_FACE = "CropCentralFace"
|
|
45
|
-
|
|
46
|
-
""
|
|
47
|
-
CROP_ALL_FACES = "CropAllFaces"
|
|
48
|
-
|
|
49
|
-
""
|
|
50
|
-
THUMBNAIL = "Thumbnail"
|
|
51
|
-
|
|
52
|
-
""
|
|
53
|
-
ATTRIBUTES_ALL = "AttributesAll"
|
|
54
|
-
|
|
55
|
-
""
|
|
56
|
-
EMPTY = ""
|
|
57
|
-
|
|
58
|
-
allowable_values = [OLD_MODE, QUALITY_FULL, QUALITY_ICAO, QUALITY_VISA_SCHENGEN, QUALITY_VISA_USA, CROP_CENTRAL_FACE, CROP_ALL_FACES, THUMBNAIL, ATTRIBUTES_ALL, EMPTY] # noqa: E501
|
|
59
|
-
|
|
60
|
-
"""
|
|
61
|
-
Attributes:
|
|
62
|
-
openapi_types (dict): The key is attribute name
|
|
63
|
-
and the value is attribute type.
|
|
64
|
-
attribute_map (dict): The key is attribute name
|
|
65
|
-
and the value is json key in definition.
|
|
66
|
-
"""
|
|
67
|
-
openapi_types = {
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
attribute_map = {
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
def __init__(self, local_vars_configuration=None): # noqa: E501
|
|
74
|
-
"""FaceQualityScenarios - a model defined in OpenAPI""" # noqa: E501
|
|
75
|
-
if local_vars_configuration is None:
|
|
76
|
-
local_vars_configuration = Configuration()
|
|
77
|
-
self.local_vars_configuration = local_vars_configuration
|
|
78
|
-
self.discriminator = None
|
|
79
|
-
|
|
80
|
-
def to_dict(self):
|
|
81
|
-
"""Returns the model properties as a dict"""
|
|
82
|
-
result = {}
|
|
83
|
-
|
|
84
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
|
85
|
-
value = getattr(self, attr)
|
|
86
|
-
if isinstance(value, list):
|
|
87
|
-
result[attr] = list(map(
|
|
88
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
89
|
-
value
|
|
90
|
-
))
|
|
91
|
-
elif hasattr(value, "to_dict"):
|
|
92
|
-
result[attr] = value.to_dict()
|
|
93
|
-
elif isinstance(value, dict):
|
|
94
|
-
result[attr] = dict(map(
|
|
95
|
-
lambda item: (item[0], item[1].to_dict())
|
|
96
|
-
if hasattr(item[1], "to_dict") else item,
|
|
97
|
-
value.items()
|
|
98
|
-
))
|
|
99
|
-
else:
|
|
100
|
-
result[attr] = value
|
|
101
|
-
|
|
102
|
-
return result
|
|
103
|
-
|
|
104
|
-
def to_str(self):
|
|
105
|
-
"""Returns the string representation of the model"""
|
|
106
|
-
return pprint.pformat(self.to_dict())
|
|
107
|
-
|
|
108
|
-
def __repr__(self):
|
|
109
|
-
"""For `print` and `pprint`"""
|
|
110
|
-
return self.to_str()
|
|
111
|
-
|
|
112
|
-
def __eq__(self, other):
|
|
113
|
-
"""Returns true if both objects are equal"""
|
|
114
|
-
if not isinstance(other, FaceQualityScenarios):
|
|
115
|
-
return False
|
|
116
|
-
|
|
117
|
-
return self.to_dict() == other.to_dict()
|
|
118
|
-
|
|
119
|
-
def __ne__(self, other):
|
|
120
|
-
"""Returns true if both objects are not equal"""
|
|
121
|
-
if not isinstance(other, FaceQualityScenarios):
|
|
122
|
-
return True
|
|
123
|
-
|
|
124
|
-
return self.to_dict() != other.to_dict()
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Regula FaceSDK Web API
|
|
5
|
-
|
|
6
|
-
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 # noqa: E501
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 4.1.0
|
|
9
|
-
Generated by: https://openapi-generator.tech
|
|
10
|
-
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import pprint
|
|
14
|
-
import re # noqa: F401
|
|
15
|
-
|
|
16
|
-
import six
|
|
17
|
-
|
|
18
|
-
from regula.facesdk.webclient.gen.configuration import Configuration
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
class FaceQualityStatus(object):
|
|
22
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
23
|
-
Ref: https://openapi-generator.tech
|
|
24
|
-
|
|
25
|
-
Do not edit the class manually.
|
|
26
|
-
"""
|
|
27
|
-
|
|
28
|
-
""
|
|
29
|
-
QUALITY_STATUS_FALSE = int(0)
|
|
30
|
-
|
|
31
|
-
""
|
|
32
|
-
QUALITY_STATUS_TRUE = int(1)
|
|
33
|
-
|
|
34
|
-
""
|
|
35
|
-
QUALITY_STATUS_UNDETERMINED = int(2)
|
|
36
|
-
|
|
37
|
-
allowable_values = [QUALITY_STATUS_FALSE, QUALITY_STATUS_TRUE, QUALITY_STATUS_UNDETERMINED] # noqa: E501
|
|
38
|
-
|
|
39
|
-
"""
|
|
40
|
-
Attributes:
|
|
41
|
-
openapi_types (dict): The key is attribute name
|
|
42
|
-
and the value is attribute type.
|
|
43
|
-
attribute_map (dict): The key is attribute name
|
|
44
|
-
and the value is json key in definition.
|
|
45
|
-
"""
|
|
46
|
-
openapi_types = {
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
attribute_map = {
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
def __init__(self, local_vars_configuration=None): # noqa: E501
|
|
53
|
-
"""FaceQualityStatus - a model defined in OpenAPI""" # noqa: E501
|
|
54
|
-
if local_vars_configuration is None:
|
|
55
|
-
local_vars_configuration = Configuration()
|
|
56
|
-
self.local_vars_configuration = local_vars_configuration
|
|
57
|
-
self.discriminator = None
|
|
58
|
-
|
|
59
|
-
def to_dict(self):
|
|
60
|
-
"""Returns the model properties as a dict"""
|
|
61
|
-
result = {}
|
|
62
|
-
|
|
63
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
|
64
|
-
value = getattr(self, attr)
|
|
65
|
-
if isinstance(value, list):
|
|
66
|
-
result[attr] = list(map(
|
|
67
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
68
|
-
value
|
|
69
|
-
))
|
|
70
|
-
elif hasattr(value, "to_dict"):
|
|
71
|
-
result[attr] = value.to_dict()
|
|
72
|
-
elif isinstance(value, dict):
|
|
73
|
-
result[attr] = dict(map(
|
|
74
|
-
lambda item: (item[0], item[1].to_dict())
|
|
75
|
-
if hasattr(item[1], "to_dict") else item,
|
|
76
|
-
value.items()
|
|
77
|
-
))
|
|
78
|
-
else:
|
|
79
|
-
result[attr] = value
|
|
80
|
-
|
|
81
|
-
return result
|
|
82
|
-
|
|
83
|
-
def to_str(self):
|
|
84
|
-
"""Returns the string representation of the model"""
|
|
85
|
-
return pprint.pformat(self.to_dict())
|
|
86
|
-
|
|
87
|
-
def __repr__(self):
|
|
88
|
-
"""For `print` and `pprint`"""
|
|
89
|
-
return self.to_str()
|
|
90
|
-
|
|
91
|
-
def __eq__(self, other):
|
|
92
|
-
"""Returns true if both objects are equal"""
|
|
93
|
-
if not isinstance(other, FaceQualityStatus):
|
|
94
|
-
return False
|
|
95
|
-
|
|
96
|
-
return self.to_dict() == other.to_dict()
|
|
97
|
-
|
|
98
|
-
def __ne__(self, other):
|
|
99
|
-
"""Returns true if both objects are not equal"""
|
|
100
|
-
if not isinstance(other, FaceQualityStatus):
|
|
101
|
-
return True
|
|
102
|
-
|
|
103
|
-
return self.to_dict() != other.to_dict()
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Regula Face SDK Web API
|
|
5
|
-
|
|
6
|
-
<a href=\"https://regulaforensics.com/products/face-recognition-sdk/ \" target=\"_blank\">Regula Face SDK</a> is a cross-platform biometric verification solution for a digital identity verification process and image quality assurance. The SDK enables convenient and reliable face capture on the client side (mobile, web, and desktop) and further processing on the client or server side. The Face SDK includes the following features: * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-detection\" target=\"_blank\">Face detection and image quality assessment</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-comparison-11\" target=\"_blank\">Face match (1:1)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-identification-1n\" target=\"_blank\">Face search (1:N)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#liveness-assessment\" target=\"_blank\">Liveness detection</a> Here is the <a href=\"https://github.com/regulaforensics/FaceSDK-web-openapi \" target=\"_blank\">OpenAPI specification on GitHub</a>. ### 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 # noqa: E501
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 7.2.0
|
|
9
|
-
Generated by: https://openapi-generator.tech
|
|
10
|
-
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import pprint
|
|
14
|
-
import re # noqa: F401
|
|
15
|
-
|
|
16
|
-
import six
|
|
17
|
-
|
|
18
|
-
from regula.facesdk.webclient.gen.configuration import Configuration
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
class FaceRectangular(object):
|
|
22
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
23
|
-
Ref: https://openapi-generator.tech
|
|
24
|
-
|
|
25
|
-
Do not edit the class manually.
|
|
26
|
-
"""
|
|
27
|
-
|
|
28
|
-
"""
|
|
29
|
-
Attributes:
|
|
30
|
-
openapi_types (dict): The key is attribute name
|
|
31
|
-
and the value is attribute type.
|
|
32
|
-
attribute_map (dict): The key is attribute name
|
|
33
|
-
and the value is json key in definition.
|
|
34
|
-
"""
|
|
35
|
-
openapi_types = {
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
attribute_map = {
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
def __init__(self, local_vars_configuration=None): # noqa: E501
|
|
42
|
-
"""FaceRectangular - a model defined in OpenAPI""" # noqa: E501
|
|
43
|
-
if local_vars_configuration is None:
|
|
44
|
-
local_vars_configuration = Configuration()
|
|
45
|
-
self.local_vars_configuration = local_vars_configuration
|
|
46
|
-
self.discriminator = None
|
|
47
|
-
|
|
48
|
-
def to_dict(self):
|
|
49
|
-
"""Returns the model properties as a dict"""
|
|
50
|
-
result = {}
|
|
51
|
-
|
|
52
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
|
53
|
-
value = getattr(self, attr)
|
|
54
|
-
if isinstance(value, list):
|
|
55
|
-
result[attr] = list(map(
|
|
56
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
57
|
-
value
|
|
58
|
-
))
|
|
59
|
-
elif hasattr(value, "to_dict"):
|
|
60
|
-
result[attr] = value.to_dict()
|
|
61
|
-
elif isinstance(value, dict):
|
|
62
|
-
result[attr] = dict(map(
|
|
63
|
-
lambda item: (item[0], item[1].to_dict())
|
|
64
|
-
if hasattr(item[1], "to_dict") else item,
|
|
65
|
-
value.items()
|
|
66
|
-
))
|
|
67
|
-
else:
|
|
68
|
-
result[attr] = value
|
|
69
|
-
|
|
70
|
-
return result
|
|
71
|
-
|
|
72
|
-
def to_str(self):
|
|
73
|
-
"""Returns the string representation of the model"""
|
|
74
|
-
return pprint.pformat(self.to_dict())
|
|
75
|
-
|
|
76
|
-
def __repr__(self):
|
|
77
|
-
"""For `print` and `pprint`"""
|
|
78
|
-
return self.to_str()
|
|
79
|
-
|
|
80
|
-
def __eq__(self, other):
|
|
81
|
-
"""Returns true if both objects are equal"""
|
|
82
|
-
if not isinstance(other, FaceRectangular):
|
|
83
|
-
return False
|
|
84
|
-
|
|
85
|
-
return self.to_dict() == other.to_dict()
|
|
86
|
-
|
|
87
|
-
def __ne__(self, other):
|
|
88
|
-
"""Returns true if both objects are not equal"""
|
|
89
|
-
if not isinstance(other, FaceRectangular):
|
|
90
|
-
return True
|
|
91
|
-
|
|
92
|
-
return self.to_dict() != other.to_dict()
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Regula Face SDK Web API
|
|
5
|
-
|
|
6
|
-
<a href=\"https://regulaforensics.com/products/face-recognition-sdk/ \" target=\"_blank\">Regula Face SDK</a> is a cross-platform biometric verification solution for a digital identity verification process and image quality assurance. The SDK enables convenient and reliable face capture on the client side (mobile, web, and desktop) and further processing on the client or server side. The Face SDK includes the following features: * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-detection\" target=\"_blank\">Face detection and image quality assessment</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-comparison-11\" target=\"_blank\">Face match (1:1)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-identification-1n\" target=\"_blank\">Face search (1:N)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#liveness-assessment\" target=\"_blank\">Liveness detection</a> Here is the <a href=\"https://github.com/regulaforensics/FaceSDK-web-openapi \" target=\"_blank\">OpenAPI specification on GitHub</a>. ### 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 # noqa: E501
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 7.2.0
|
|
9
|
-
Generated by: https://openapi-generator.tech
|
|
10
|
-
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import pprint
|
|
14
|
-
import re # noqa: F401
|
|
15
|
-
|
|
16
|
-
import six
|
|
17
|
-
|
|
18
|
-
from regula.facesdk.webclient.gen.configuration import Configuration
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
class FaceSDKResult(object):
|
|
22
|
-
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
23
|
-
Ref: https://openapi-generator.tech
|
|
24
|
-
|
|
25
|
-
Do not edit the class manually.
|
|
26
|
-
"""
|
|
27
|
-
|
|
28
|
-
"""
|
|
29
|
-
Attributes:
|
|
30
|
-
openapi_types (dict): The key is attribute name
|
|
31
|
-
and the value is attribute type.
|
|
32
|
-
attribute_map (dict): The key is attribute name
|
|
33
|
-
and the value is json key in definition.
|
|
34
|
-
"""
|
|
35
|
-
openapi_types = {
|
|
36
|
-
'code': 'FaceSDKResultCode',
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
attribute_map = {
|
|
40
|
-
'code': 'code',
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
def __init__(self, code=None, local_vars_configuration=None): # noqa: E501
|
|
44
|
-
"""FaceSDKResult - a model defined in OpenAPI""" # noqa: E501
|
|
45
|
-
if local_vars_configuration is None:
|
|
46
|
-
local_vars_configuration = Configuration()
|
|
47
|
-
self.local_vars_configuration = local_vars_configuration
|
|
48
|
-
|
|
49
|
-
self._code = None
|
|
50
|
-
self.discriminator = None
|
|
51
|
-
|
|
52
|
-
self.code = code
|
|
53
|
-
|
|
54
|
-
@property
|
|
55
|
-
def code(self):
|
|
56
|
-
"""Gets the code of this FaceSDKResult. # noqa: E501
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
:return: The code of this FaceSDKResult. # noqa: E501
|
|
60
|
-
:rtype: FaceSDKResultCode
|
|
61
|
-
"""
|
|
62
|
-
return self._code
|
|
63
|
-
|
|
64
|
-
@code.setter
|
|
65
|
-
def code(self, code):
|
|
66
|
-
"""Sets the code of this FaceSDKResult.
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
:param code: The code of this FaceSDKResult. # noqa: E501
|
|
70
|
-
:type code: FaceSDKResultCode
|
|
71
|
-
"""
|
|
72
|
-
if self.local_vars_configuration.client_side_validation and code is None: # noqa: E501
|
|
73
|
-
raise ValueError("Invalid value for `code`, must not be `None`") # noqa: E501
|
|
74
|
-
|
|
75
|
-
self._code = code
|
|
76
|
-
|
|
77
|
-
def to_dict(self):
|
|
78
|
-
"""Returns the model properties as a dict"""
|
|
79
|
-
result = {}
|
|
80
|
-
|
|
81
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
|
82
|
-
value = getattr(self, attr)
|
|
83
|
-
if isinstance(value, list):
|
|
84
|
-
result[attr] = list(map(
|
|
85
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
86
|
-
value
|
|
87
|
-
))
|
|
88
|
-
elif hasattr(value, "to_dict"):
|
|
89
|
-
result[attr] = value.to_dict()
|
|
90
|
-
elif isinstance(value, dict):
|
|
91
|
-
result[attr] = dict(map(
|
|
92
|
-
lambda item: (item[0], item[1].to_dict())
|
|
93
|
-
if hasattr(item[1], "to_dict") else item,
|
|
94
|
-
value.items()
|
|
95
|
-
))
|
|
96
|
-
else:
|
|
97
|
-
result[attr] = value
|
|
98
|
-
|
|
99
|
-
return result
|
|
100
|
-
|
|
101
|
-
def to_str(self):
|
|
102
|
-
"""Returns the string representation of the model"""
|
|
103
|
-
return pprint.pformat(self.to_dict())
|
|
104
|
-
|
|
105
|
-
def __repr__(self):
|
|
106
|
-
"""For `print` and `pprint`"""
|
|
107
|
-
return self.to_str()
|
|
108
|
-
|
|
109
|
-
def __eq__(self, other):
|
|
110
|
-
"""Returns true if both objects are equal"""
|
|
111
|
-
if not isinstance(other, FaceSDKResult):
|
|
112
|
-
return False
|
|
113
|
-
|
|
114
|
-
return self.to_dict() == other.to_dict()
|
|
115
|
-
|
|
116
|
-
def __ne__(self, other):
|
|
117
|
-
"""Returns true if both objects are not equal"""
|
|
118
|
-
if not isinstance(other, FaceSDKResult):
|
|
119
|
-
return True
|
|
120
|
-
|
|
121
|
-
return self.to_dict() != other.to_dict()
|