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,217 +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 FaceSDKResultCode(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
|
-
FACER_OK = int(0)
|
|
30
|
-
|
|
31
|
-
""
|
|
32
|
-
FR_IMAGE_EMPTY = int(1)
|
|
33
|
-
|
|
34
|
-
""
|
|
35
|
-
FR_FACE_NOT_DETECTED = int(2)
|
|
36
|
-
|
|
37
|
-
""
|
|
38
|
-
FR_LANDMARKS_NOT_DETECTED = int(3)
|
|
39
|
-
|
|
40
|
-
""
|
|
41
|
-
FR_FACE_ALIGHNER_FAILED = int(4)
|
|
42
|
-
|
|
43
|
-
""
|
|
44
|
-
FR_DESCRIPTOR_EXTRACTOR_ERROR = int(5)
|
|
45
|
-
|
|
46
|
-
""
|
|
47
|
-
FR_IMAGE_DECODE_ERROR = int(6)
|
|
48
|
-
|
|
49
|
-
""
|
|
50
|
-
FR_INTERNAL_ERROR = int(7)
|
|
51
|
-
|
|
52
|
-
""
|
|
53
|
-
FACER_CONFIG_ERROR = int(199)
|
|
54
|
-
|
|
55
|
-
""
|
|
56
|
-
FACER_NO_LICENSE = int(200)
|
|
57
|
-
|
|
58
|
-
""
|
|
59
|
-
FACER_IS_NOT_INITIALIZED = int(201)
|
|
60
|
-
|
|
61
|
-
""
|
|
62
|
-
FACER_COMMAND_IS_NOT_SUPPORTED = int(202)
|
|
63
|
-
|
|
64
|
-
""
|
|
65
|
-
FACER_COMMAND_PARAMS_READ_ERROR = int(203)
|
|
66
|
-
|
|
67
|
-
""
|
|
68
|
-
FACER_LESS_THAN_TWO_IMAGES_IN_REQUEST = int(224)
|
|
69
|
-
|
|
70
|
-
""
|
|
71
|
-
FACER_VIDEO_DECODE_ERROR = int(227)
|
|
72
|
-
|
|
73
|
-
""
|
|
74
|
-
FACER_NOT_ENOUGH_FRAMES = int(228)
|
|
75
|
-
|
|
76
|
-
""
|
|
77
|
-
FACER_OUTPUT_IS_NOT_DEFINED = int(229)
|
|
78
|
-
|
|
79
|
-
""
|
|
80
|
-
FACER_CLOSED_EYES_DETECTED = int(230)
|
|
81
|
-
|
|
82
|
-
""
|
|
83
|
-
FACER_LOW_QUALITY = int(231)
|
|
84
|
-
|
|
85
|
-
""
|
|
86
|
-
FACER_HIGH_ASYMMETRY = int(232)
|
|
87
|
-
|
|
88
|
-
""
|
|
89
|
-
FACER_FACE_OVER_EMOTIONAL = int(233)
|
|
90
|
-
|
|
91
|
-
""
|
|
92
|
-
FACER_SUNGLASSES_DETECTED = int(234)
|
|
93
|
-
|
|
94
|
-
""
|
|
95
|
-
FACER_SMALL_AGE = int(235)
|
|
96
|
-
|
|
97
|
-
""
|
|
98
|
-
FACER_HEADDRESS_DETECTED = int(236)
|
|
99
|
-
|
|
100
|
-
""
|
|
101
|
-
FACER_FACES_NOT_MATCHED = int(237)
|
|
102
|
-
|
|
103
|
-
""
|
|
104
|
-
FACER_IMAGES_COUNT_LIMIT_EXCEEDED = int(238)
|
|
105
|
-
|
|
106
|
-
""
|
|
107
|
-
FACER_MEDICINE_MASK_DETECTED = int(239)
|
|
108
|
-
|
|
109
|
-
""
|
|
110
|
-
FACER_OCCLUSION_DETECTED = int(240)
|
|
111
|
-
|
|
112
|
-
""
|
|
113
|
-
FACER_FOREHEAD_GLASSES_DETECTED = int(242)
|
|
114
|
-
|
|
115
|
-
""
|
|
116
|
-
FACER_MOUTH_OPENED = int(243)
|
|
117
|
-
|
|
118
|
-
""
|
|
119
|
-
FACER_ART_MASK_DETECTED = int(244)
|
|
120
|
-
|
|
121
|
-
""
|
|
122
|
-
FACER_ELECTRONIC_DEVICE_DETECTED = int(245)
|
|
123
|
-
|
|
124
|
-
""
|
|
125
|
-
FACER_TRACK_BREAK = int(246)
|
|
126
|
-
|
|
127
|
-
""
|
|
128
|
-
FACER_WRONG_GEO = int(247)
|
|
129
|
-
|
|
130
|
-
""
|
|
131
|
-
FACER_WRONG_OF = int(248)
|
|
132
|
-
|
|
133
|
-
""
|
|
134
|
-
FACER_WRONG_VIEW = int(249)
|
|
135
|
-
|
|
136
|
-
""
|
|
137
|
-
FACER_TIMEOUT_LIVENESS_TRANSACTION = int(250)
|
|
138
|
-
|
|
139
|
-
""
|
|
140
|
-
FACER_FAILED_LIVENESS_TRANSACTION = int(251)
|
|
141
|
-
|
|
142
|
-
""
|
|
143
|
-
FACER_ABORTED_LIVENESS_TRANSACTION = int(252)
|
|
144
|
-
|
|
145
|
-
""
|
|
146
|
-
FACER_GENERAL_ERROR = int(253)
|
|
147
|
-
|
|
148
|
-
""
|
|
149
|
-
FACER_PASSIVE_LIVENESS_FAIL = int(254)
|
|
150
|
-
|
|
151
|
-
allowable_values = [FACER_OK, FR_IMAGE_EMPTY, FR_FACE_NOT_DETECTED, FR_LANDMARKS_NOT_DETECTED, FR_FACE_ALIGHNER_FAILED, FR_DESCRIPTOR_EXTRACTOR_ERROR, FR_IMAGE_DECODE_ERROR, FR_INTERNAL_ERROR, FACER_CONFIG_ERROR, FACER_NO_LICENSE, FACER_IS_NOT_INITIALIZED, FACER_COMMAND_IS_NOT_SUPPORTED, FACER_COMMAND_PARAMS_READ_ERROR, FACER_LESS_THAN_TWO_IMAGES_IN_REQUEST, FACER_VIDEO_DECODE_ERROR, FACER_NOT_ENOUGH_FRAMES, FACER_OUTPUT_IS_NOT_DEFINED, FACER_CLOSED_EYES_DETECTED, FACER_LOW_QUALITY, FACER_HIGH_ASYMMETRY, FACER_FACE_OVER_EMOTIONAL, FACER_SUNGLASSES_DETECTED, FACER_SMALL_AGE, FACER_HEADDRESS_DETECTED, FACER_FACES_NOT_MATCHED, FACER_IMAGES_COUNT_LIMIT_EXCEEDED, FACER_MEDICINE_MASK_DETECTED, FACER_OCCLUSION_DETECTED, FACER_FOREHEAD_GLASSES_DETECTED, FACER_MOUTH_OPENED, FACER_ART_MASK_DETECTED, FACER_ELECTRONIC_DEVICE_DETECTED, FACER_TRACK_BREAK, FACER_WRONG_GEO, FACER_WRONG_OF, FACER_WRONG_VIEW, FACER_TIMEOUT_LIVENESS_TRANSACTION, FACER_FAILED_LIVENESS_TRANSACTION, FACER_ABORTED_LIVENESS_TRANSACTION, FACER_GENERAL_ERROR, FACER_PASSIVE_LIVENESS_FAIL] # noqa: E501
|
|
152
|
-
|
|
153
|
-
"""
|
|
154
|
-
Attributes:
|
|
155
|
-
openapi_types (dict): The key is attribute name
|
|
156
|
-
and the value is attribute type.
|
|
157
|
-
attribute_map (dict): The key is attribute name
|
|
158
|
-
and the value is json key in definition.
|
|
159
|
-
"""
|
|
160
|
-
openapi_types = {
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
attribute_map = {
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
def __init__(self, local_vars_configuration=None): # noqa: E501
|
|
167
|
-
"""FaceSDKResultCode - a model defined in OpenAPI""" # noqa: E501
|
|
168
|
-
if local_vars_configuration is None:
|
|
169
|
-
local_vars_configuration = Configuration()
|
|
170
|
-
self.local_vars_configuration = local_vars_configuration
|
|
171
|
-
self.discriminator = None
|
|
172
|
-
|
|
173
|
-
def to_dict(self):
|
|
174
|
-
"""Returns the model properties as a dict"""
|
|
175
|
-
result = {}
|
|
176
|
-
|
|
177
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
|
178
|
-
value = getattr(self, attr)
|
|
179
|
-
if isinstance(value, list):
|
|
180
|
-
result[attr] = list(map(
|
|
181
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
182
|
-
value
|
|
183
|
-
))
|
|
184
|
-
elif hasattr(value, "to_dict"):
|
|
185
|
-
result[attr] = value.to_dict()
|
|
186
|
-
elif isinstance(value, dict):
|
|
187
|
-
result[attr] = dict(map(
|
|
188
|
-
lambda item: (item[0], item[1].to_dict())
|
|
189
|
-
if hasattr(item[1], "to_dict") else item,
|
|
190
|
-
value.items()
|
|
191
|
-
))
|
|
192
|
-
else:
|
|
193
|
-
result[attr] = value
|
|
194
|
-
|
|
195
|
-
return result
|
|
196
|
-
|
|
197
|
-
def to_str(self):
|
|
198
|
-
"""Returns the string representation of the model"""
|
|
199
|
-
return pprint.pformat(self.to_dict())
|
|
200
|
-
|
|
201
|
-
def __repr__(self):
|
|
202
|
-
"""For `print` and `pprint`"""
|
|
203
|
-
return self.to_str()
|
|
204
|
-
|
|
205
|
-
def __eq__(self, other):
|
|
206
|
-
"""Returns true if both objects are equal"""
|
|
207
|
-
if not isinstance(other, FaceSDKResultCode):
|
|
208
|
-
return False
|
|
209
|
-
|
|
210
|
-
return self.to_dict() == other.to_dict()
|
|
211
|
-
|
|
212
|
-
def __ne__(self, other):
|
|
213
|
-
"""Returns true if both objects are not equal"""
|
|
214
|
-
if not isinstance(other, FaceSDKResultCode):
|
|
215
|
-
return True
|
|
216
|
-
|
|
217
|
-
return self.to_dict() != other.to_dict()
|
|
@@ -1,258 +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 FacesResponse(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
|
-
'face_index': 'float',
|
|
37
|
-
'landmarks': '[[float]]',
|
|
38
|
-
'rotation_angle': 'float',
|
|
39
|
-
'roi': 'FaceRectangular',
|
|
40
|
-
'crop': 'str',
|
|
41
|
-
'persons': '[PersonWithImages]',
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
attribute_map = {
|
|
45
|
-
'face_index': 'faceIndex',
|
|
46
|
-
'landmarks': 'landmarks',
|
|
47
|
-
'rotation_angle': 'rotationAngle',
|
|
48
|
-
'roi': 'roi',
|
|
49
|
-
'crop': 'crop',
|
|
50
|
-
'persons': 'persons',
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
def __init__(self, face_index=None, landmarks=None, rotation_angle=None, roi=None, crop=None, persons=None, local_vars_configuration=None): # noqa: E501
|
|
54
|
-
"""FacesResponse - a model defined in OpenAPI""" # noqa: E501
|
|
55
|
-
if local_vars_configuration is None:
|
|
56
|
-
local_vars_configuration = Configuration()
|
|
57
|
-
self.local_vars_configuration = local_vars_configuration
|
|
58
|
-
|
|
59
|
-
self._face_index = None
|
|
60
|
-
self._landmarks = None
|
|
61
|
-
self._rotation_angle = None
|
|
62
|
-
self._roi = None
|
|
63
|
-
self._crop = None
|
|
64
|
-
self._persons = None
|
|
65
|
-
self.discriminator = None
|
|
66
|
-
|
|
67
|
-
if face_index is not None:
|
|
68
|
-
self.face_index = face_index
|
|
69
|
-
if landmarks is not None:
|
|
70
|
-
self.landmarks = landmarks
|
|
71
|
-
if rotation_angle is not None:
|
|
72
|
-
self.rotation_angle = rotation_angle
|
|
73
|
-
if roi is not None:
|
|
74
|
-
self.roi = roi
|
|
75
|
-
if crop is not None:
|
|
76
|
-
self.crop = crop
|
|
77
|
-
if persons is not None:
|
|
78
|
-
self.persons = persons
|
|
79
|
-
|
|
80
|
-
@property
|
|
81
|
-
def face_index(self):
|
|
82
|
-
"""Gets the face_index of this FacesResponse. # noqa: E501
|
|
83
|
-
|
|
84
|
-
The detected face index number. # noqa: E501
|
|
85
|
-
|
|
86
|
-
:return: The face_index of this FacesResponse. # noqa: E501
|
|
87
|
-
:rtype: float
|
|
88
|
-
"""
|
|
89
|
-
return self._face_index
|
|
90
|
-
|
|
91
|
-
@face_index.setter
|
|
92
|
-
def face_index(self, face_index):
|
|
93
|
-
"""Sets the face_index of this FacesResponse.
|
|
94
|
-
|
|
95
|
-
The detected face index number. # noqa: E501
|
|
96
|
-
|
|
97
|
-
:param face_index: The face_index of this FacesResponse. # noqa: E501
|
|
98
|
-
:type face_index: float
|
|
99
|
-
"""
|
|
100
|
-
|
|
101
|
-
self._face_index = face_index
|
|
102
|
-
|
|
103
|
-
@property
|
|
104
|
-
def landmarks(self):
|
|
105
|
-
"""Gets the landmarks of this FacesResponse. # noqa: E501
|
|
106
|
-
|
|
107
|
-
Absolute coordinates (x,y) of five points of each detected face: left eye, right eye, nose, left point of lips, right point of lips. # noqa: E501
|
|
108
|
-
|
|
109
|
-
:return: The landmarks of this FacesResponse. # noqa: E501
|
|
110
|
-
:rtype: [[float]]
|
|
111
|
-
"""
|
|
112
|
-
return self._landmarks
|
|
113
|
-
|
|
114
|
-
@landmarks.setter
|
|
115
|
-
def landmarks(self, landmarks):
|
|
116
|
-
"""Sets the landmarks of this FacesResponse.
|
|
117
|
-
|
|
118
|
-
Absolute coordinates (x,y) of five points of each detected face: left eye, right eye, nose, left point of lips, right point of lips. # noqa: E501
|
|
119
|
-
|
|
120
|
-
:param landmarks: The landmarks of this FacesResponse. # noqa: E501
|
|
121
|
-
:type landmarks: [[float]]
|
|
122
|
-
"""
|
|
123
|
-
|
|
124
|
-
self._landmarks = landmarks
|
|
125
|
-
|
|
126
|
-
@property
|
|
127
|
-
def rotation_angle(self):
|
|
128
|
-
"""Gets the rotation_angle of this FacesResponse. # noqa: E501
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
:return: The rotation_angle of this FacesResponse. # noqa: E501
|
|
132
|
-
:rtype: float
|
|
133
|
-
"""
|
|
134
|
-
return self._rotation_angle
|
|
135
|
-
|
|
136
|
-
@rotation_angle.setter
|
|
137
|
-
def rotation_angle(self, rotation_angle):
|
|
138
|
-
"""Sets the rotation_angle of this FacesResponse.
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
:param rotation_angle: The rotation_angle of this FacesResponse. # noqa: E501
|
|
142
|
-
:type rotation_angle: float
|
|
143
|
-
"""
|
|
144
|
-
|
|
145
|
-
self._rotation_angle = rotation_angle
|
|
146
|
-
|
|
147
|
-
@property
|
|
148
|
-
def roi(self):
|
|
149
|
-
"""Gets the roi of this FacesResponse. # noqa: E501
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
:return: The roi of this FacesResponse. # noqa: E501
|
|
153
|
-
:rtype: FaceRectangular
|
|
154
|
-
"""
|
|
155
|
-
return self._roi
|
|
156
|
-
|
|
157
|
-
@roi.setter
|
|
158
|
-
def roi(self, roi):
|
|
159
|
-
"""Sets the roi of this FacesResponse.
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
:param roi: The roi of this FacesResponse. # noqa: E501
|
|
163
|
-
:type roi: FaceRectangular
|
|
164
|
-
"""
|
|
165
|
-
|
|
166
|
-
self._roi = roi
|
|
167
|
-
|
|
168
|
-
@property
|
|
169
|
-
def crop(self):
|
|
170
|
-
"""Gets the crop of this FacesResponse. # noqa: E501
|
|
171
|
-
|
|
172
|
-
Base64-encoded aligned and cropped portrait. # noqa: E501
|
|
173
|
-
|
|
174
|
-
:return: The crop of this FacesResponse. # noqa: E501
|
|
175
|
-
:rtype: str
|
|
176
|
-
"""
|
|
177
|
-
return self._crop
|
|
178
|
-
|
|
179
|
-
@crop.setter
|
|
180
|
-
def crop(self, crop):
|
|
181
|
-
"""Sets the crop of this FacesResponse.
|
|
182
|
-
|
|
183
|
-
Base64-encoded aligned and cropped portrait. # noqa: E501
|
|
184
|
-
|
|
185
|
-
:param crop: The crop of this FacesResponse. # noqa: E501
|
|
186
|
-
:type crop: str
|
|
187
|
-
"""
|
|
188
|
-
|
|
189
|
-
self._crop = crop
|
|
190
|
-
|
|
191
|
-
@property
|
|
192
|
-
def persons(self):
|
|
193
|
-
"""Gets the persons of this FacesResponse. # noqa: E501
|
|
194
|
-
|
|
195
|
-
Detected Persons. # noqa: E501
|
|
196
|
-
|
|
197
|
-
:return: The persons of this FacesResponse. # noqa: E501
|
|
198
|
-
:rtype: [PersonWithImages]
|
|
199
|
-
"""
|
|
200
|
-
return self._persons
|
|
201
|
-
|
|
202
|
-
@persons.setter
|
|
203
|
-
def persons(self, persons):
|
|
204
|
-
"""Sets the persons of this FacesResponse.
|
|
205
|
-
|
|
206
|
-
Detected Persons. # noqa: E501
|
|
207
|
-
|
|
208
|
-
:param persons: The persons of this FacesResponse. # noqa: E501
|
|
209
|
-
:type persons: [PersonWithImages]
|
|
210
|
-
"""
|
|
211
|
-
|
|
212
|
-
self._persons = persons
|
|
213
|
-
|
|
214
|
-
def to_dict(self):
|
|
215
|
-
"""Returns the model properties as a dict"""
|
|
216
|
-
result = {}
|
|
217
|
-
|
|
218
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
|
219
|
-
value = getattr(self, attr)
|
|
220
|
-
if isinstance(value, list):
|
|
221
|
-
result[attr] = list(map(
|
|
222
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
223
|
-
value
|
|
224
|
-
))
|
|
225
|
-
elif hasattr(value, "to_dict"):
|
|
226
|
-
result[attr] = value.to_dict()
|
|
227
|
-
elif isinstance(value, dict):
|
|
228
|
-
result[attr] = dict(map(
|
|
229
|
-
lambda item: (item[0], item[1].to_dict())
|
|
230
|
-
if hasattr(item[1], "to_dict") else item,
|
|
231
|
-
value.items()
|
|
232
|
-
))
|
|
233
|
-
else:
|
|
234
|
-
result[attr] = value
|
|
235
|
-
|
|
236
|
-
return result
|
|
237
|
-
|
|
238
|
-
def to_str(self):
|
|
239
|
-
"""Returns the string representation of the model"""
|
|
240
|
-
return pprint.pformat(self.to_dict())
|
|
241
|
-
|
|
242
|
-
def __repr__(self):
|
|
243
|
-
"""For `print` and `pprint`"""
|
|
244
|
-
return self.to_str()
|
|
245
|
-
|
|
246
|
-
def __eq__(self, other):
|
|
247
|
-
"""Returns true if both objects are equal"""
|
|
248
|
-
if not isinstance(other, FacesResponse):
|
|
249
|
-
return False
|
|
250
|
-
|
|
251
|
-
return self.to_dict() == other.to_dict()
|
|
252
|
-
|
|
253
|
-
def __ne__(self, other):
|
|
254
|
-
"""Returns true if both objects are not equal"""
|
|
255
|
-
if not isinstance(other, FacesResponse):
|
|
256
|
-
return True
|
|
257
|
-
|
|
258
|
-
return self.to_dict() != other.to_dict()
|
|
@@ -1,148 +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 FacesResponseAllOf(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
|
-
'persons': '[PersonWithImages]',
|
|
37
|
-
'rotation_angle': 'float',
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
attribute_map = {
|
|
41
|
-
'persons': 'persons',
|
|
42
|
-
'rotation_angle': 'rotationAngle',
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
def __init__(self, persons=None, rotation_angle=None, local_vars_configuration=None): # noqa: E501
|
|
46
|
-
"""FacesResponseAllOf - a model defined in OpenAPI""" # noqa: E501
|
|
47
|
-
if local_vars_configuration is None:
|
|
48
|
-
local_vars_configuration = Configuration()
|
|
49
|
-
self.local_vars_configuration = local_vars_configuration
|
|
50
|
-
|
|
51
|
-
self._persons = None
|
|
52
|
-
self._rotation_angle = None
|
|
53
|
-
self.discriminator = None
|
|
54
|
-
|
|
55
|
-
if persons is not None:
|
|
56
|
-
self.persons = persons
|
|
57
|
-
if rotation_angle is not None:
|
|
58
|
-
self.rotation_angle = rotation_angle
|
|
59
|
-
|
|
60
|
-
@property
|
|
61
|
-
def persons(self):
|
|
62
|
-
"""Gets the persons of this FacesResponseAllOf. # noqa: E501
|
|
63
|
-
|
|
64
|
-
Detected Persons. # noqa: E501
|
|
65
|
-
|
|
66
|
-
:return: The persons of this FacesResponseAllOf. # noqa: E501
|
|
67
|
-
:rtype: [PersonWithImages]
|
|
68
|
-
"""
|
|
69
|
-
return self._persons
|
|
70
|
-
|
|
71
|
-
@persons.setter
|
|
72
|
-
def persons(self, persons):
|
|
73
|
-
"""Sets the persons of this FacesResponseAllOf.
|
|
74
|
-
|
|
75
|
-
Detected Persons. # noqa: E501
|
|
76
|
-
|
|
77
|
-
:param persons: The persons of this FacesResponseAllOf. # noqa: E501
|
|
78
|
-
:type persons: [PersonWithImages]
|
|
79
|
-
"""
|
|
80
|
-
|
|
81
|
-
self._persons = persons
|
|
82
|
-
|
|
83
|
-
@property
|
|
84
|
-
def rotation_angle(self):
|
|
85
|
-
"""Gets the rotation_angle of this FacesResponseAllOf. # noqa: E501
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
:return: The rotation_angle of this FacesResponseAllOf. # noqa: E501
|
|
89
|
-
:rtype: float
|
|
90
|
-
"""
|
|
91
|
-
return self._rotation_angle
|
|
92
|
-
|
|
93
|
-
@rotation_angle.setter
|
|
94
|
-
def rotation_angle(self, rotation_angle):
|
|
95
|
-
"""Sets the rotation_angle of this FacesResponseAllOf.
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
:param rotation_angle: The rotation_angle of this FacesResponseAllOf. # noqa: E501
|
|
99
|
-
:type rotation_angle: float
|
|
100
|
-
"""
|
|
101
|
-
|
|
102
|
-
self._rotation_angle = rotation_angle
|
|
103
|
-
|
|
104
|
-
def to_dict(self):
|
|
105
|
-
"""Returns the model properties as a dict"""
|
|
106
|
-
result = {}
|
|
107
|
-
|
|
108
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
|
109
|
-
value = getattr(self, attr)
|
|
110
|
-
if isinstance(value, list):
|
|
111
|
-
result[attr] = list(map(
|
|
112
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
113
|
-
value
|
|
114
|
-
))
|
|
115
|
-
elif hasattr(value, "to_dict"):
|
|
116
|
-
result[attr] = value.to_dict()
|
|
117
|
-
elif isinstance(value, dict):
|
|
118
|
-
result[attr] = dict(map(
|
|
119
|
-
lambda item: (item[0], item[1].to_dict())
|
|
120
|
-
if hasattr(item[1], "to_dict") else item,
|
|
121
|
-
value.items()
|
|
122
|
-
))
|
|
123
|
-
else:
|
|
124
|
-
result[attr] = value
|
|
125
|
-
|
|
126
|
-
return result
|
|
127
|
-
|
|
128
|
-
def to_str(self):
|
|
129
|
-
"""Returns the string representation of the model"""
|
|
130
|
-
return pprint.pformat(self.to_dict())
|
|
131
|
-
|
|
132
|
-
def __repr__(self):
|
|
133
|
-
"""For `print` and `pprint`"""
|
|
134
|
-
return self.to_str()
|
|
135
|
-
|
|
136
|
-
def __eq__(self, other):
|
|
137
|
-
"""Returns true if both objects are equal"""
|
|
138
|
-
if not isinstance(other, FacesResponseAllOf):
|
|
139
|
-
return False
|
|
140
|
-
|
|
141
|
-
return self.to_dict() == other.to_dict()
|
|
142
|
-
|
|
143
|
-
def __ne__(self, other):
|
|
144
|
-
"""Returns true if both objects are not equal"""
|
|
145
|
-
if not isinstance(other, FacesResponseAllOf):
|
|
146
|
-
return True
|
|
147
|
-
|
|
148
|
-
return self.to_dict() != other.to_dict()
|