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,398 +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 SearchDetection(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': 'int',
|
|
37
|
-
'crop': 'str',
|
|
38
|
-
'detector_type': 'int',
|
|
39
|
-
'hash': 'str',
|
|
40
|
-
'idx': 'int',
|
|
41
|
-
'image': 'str',
|
|
42
|
-
'landmarks': '[[int]]',
|
|
43
|
-
'landmarks_type': 'int',
|
|
44
|
-
'msg': 'str',
|
|
45
|
-
'roi': 'FaceRectangular',
|
|
46
|
-
'version_sdk': 'str',
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
attribute_map = {
|
|
50
|
-
'code': 'code',
|
|
51
|
-
'crop': 'crop',
|
|
52
|
-
'detector_type': 'detectorType',
|
|
53
|
-
'hash': 'hash',
|
|
54
|
-
'idx': 'idx',
|
|
55
|
-
'image': 'image',
|
|
56
|
-
'landmarks': 'landmarks',
|
|
57
|
-
'landmarks_type': 'landmarksType',
|
|
58
|
-
'msg': 'msg',
|
|
59
|
-
'roi': 'roi',
|
|
60
|
-
'version_sdk': 'versionSDK',
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
def __init__(self, code=None, crop=None, detector_type=None, hash=None, idx=None, image=None, landmarks=None, landmarks_type=None, msg=None, roi=None, version_sdk=None, local_vars_configuration=None): # noqa: E501
|
|
64
|
-
"""SearchDetection - a model defined in OpenAPI""" # noqa: E501
|
|
65
|
-
if local_vars_configuration is None:
|
|
66
|
-
local_vars_configuration = Configuration()
|
|
67
|
-
self.local_vars_configuration = local_vars_configuration
|
|
68
|
-
|
|
69
|
-
self._code = None
|
|
70
|
-
self._crop = None
|
|
71
|
-
self._detector_type = None
|
|
72
|
-
self._hash = None
|
|
73
|
-
self._idx = None
|
|
74
|
-
self._image = None
|
|
75
|
-
self._landmarks = None
|
|
76
|
-
self._landmarks_type = None
|
|
77
|
-
self._msg = None
|
|
78
|
-
self._roi = None
|
|
79
|
-
self._version_sdk = None
|
|
80
|
-
self.discriminator = None
|
|
81
|
-
|
|
82
|
-
if code is not None:
|
|
83
|
-
self.code = code
|
|
84
|
-
if crop is not None:
|
|
85
|
-
self.crop = crop
|
|
86
|
-
if detector_type is not None:
|
|
87
|
-
self.detector_type = detector_type
|
|
88
|
-
if hash is not None:
|
|
89
|
-
self.hash = hash
|
|
90
|
-
if idx is not None:
|
|
91
|
-
self.idx = idx
|
|
92
|
-
if image is not None:
|
|
93
|
-
self.image = image
|
|
94
|
-
if landmarks is not None:
|
|
95
|
-
self.landmarks = landmarks
|
|
96
|
-
if landmarks_type is not None:
|
|
97
|
-
self.landmarks_type = landmarks_type
|
|
98
|
-
if msg is not None:
|
|
99
|
-
self.msg = msg
|
|
100
|
-
if roi is not None:
|
|
101
|
-
self.roi = roi
|
|
102
|
-
if version_sdk is not None:
|
|
103
|
-
self.version_sdk = version_sdk
|
|
104
|
-
|
|
105
|
-
@property
|
|
106
|
-
def code(self):
|
|
107
|
-
"""Gets the code of this SearchDetection. # noqa: E501
|
|
108
|
-
|
|
109
|
-
Internal. # noqa: E501
|
|
110
|
-
|
|
111
|
-
:return: The code of this SearchDetection. # noqa: E501
|
|
112
|
-
:rtype: int
|
|
113
|
-
"""
|
|
114
|
-
return self._code
|
|
115
|
-
|
|
116
|
-
@code.setter
|
|
117
|
-
def code(self, code):
|
|
118
|
-
"""Sets the code of this SearchDetection.
|
|
119
|
-
|
|
120
|
-
Internal. # noqa: E501
|
|
121
|
-
|
|
122
|
-
:param code: The code of this SearchDetection. # noqa: E501
|
|
123
|
-
:type code: int
|
|
124
|
-
"""
|
|
125
|
-
|
|
126
|
-
self._code = code
|
|
127
|
-
|
|
128
|
-
@property
|
|
129
|
-
def crop(self):
|
|
130
|
-
"""Gets the crop of this SearchDetection. # noqa: E501
|
|
131
|
-
|
|
132
|
-
Base64 of the aligned and cropped portrait. # noqa: E501
|
|
133
|
-
|
|
134
|
-
:return: The crop of this SearchDetection. # noqa: E501
|
|
135
|
-
:rtype: str
|
|
136
|
-
"""
|
|
137
|
-
return self._crop
|
|
138
|
-
|
|
139
|
-
@crop.setter
|
|
140
|
-
def crop(self, crop):
|
|
141
|
-
"""Sets the crop of this SearchDetection.
|
|
142
|
-
|
|
143
|
-
Base64 of the aligned and cropped portrait. # noqa: E501
|
|
144
|
-
|
|
145
|
-
:param crop: The crop of this SearchDetection. # noqa: E501
|
|
146
|
-
:type crop: str
|
|
147
|
-
"""
|
|
148
|
-
|
|
149
|
-
self._crop = crop
|
|
150
|
-
|
|
151
|
-
@property
|
|
152
|
-
def detector_type(self):
|
|
153
|
-
"""Gets the detector_type of this SearchDetection. # noqa: E501
|
|
154
|
-
|
|
155
|
-
Internal. # noqa: E501
|
|
156
|
-
|
|
157
|
-
:return: The detector_type of this SearchDetection. # noqa: E501
|
|
158
|
-
:rtype: int
|
|
159
|
-
"""
|
|
160
|
-
return self._detector_type
|
|
161
|
-
|
|
162
|
-
@detector_type.setter
|
|
163
|
-
def detector_type(self, detector_type):
|
|
164
|
-
"""Sets the detector_type of this SearchDetection.
|
|
165
|
-
|
|
166
|
-
Internal. # noqa: E501
|
|
167
|
-
|
|
168
|
-
:param detector_type: The detector_type of this SearchDetection. # noqa: E501
|
|
169
|
-
:type detector_type: int
|
|
170
|
-
"""
|
|
171
|
-
|
|
172
|
-
self._detector_type = detector_type
|
|
173
|
-
|
|
174
|
-
@property
|
|
175
|
-
def hash(self):
|
|
176
|
-
"""Gets the hash of this SearchDetection. # noqa: E501
|
|
177
|
-
|
|
178
|
-
Internal. # noqa: E501
|
|
179
|
-
|
|
180
|
-
:return: The hash of this SearchDetection. # noqa: E501
|
|
181
|
-
:rtype: str
|
|
182
|
-
"""
|
|
183
|
-
return self._hash
|
|
184
|
-
|
|
185
|
-
@hash.setter
|
|
186
|
-
def hash(self, hash):
|
|
187
|
-
"""Sets the hash of this SearchDetection.
|
|
188
|
-
|
|
189
|
-
Internal. # noqa: E501
|
|
190
|
-
|
|
191
|
-
:param hash: The hash of this SearchDetection. # noqa: E501
|
|
192
|
-
:type hash: str
|
|
193
|
-
"""
|
|
194
|
-
|
|
195
|
-
self._hash = hash
|
|
196
|
-
|
|
197
|
-
@property
|
|
198
|
-
def idx(self):
|
|
199
|
-
"""Gets the idx of this SearchDetection. # noqa: E501
|
|
200
|
-
|
|
201
|
-
Internal. # noqa: E501
|
|
202
|
-
|
|
203
|
-
:return: The idx of this SearchDetection. # noqa: E501
|
|
204
|
-
:rtype: int
|
|
205
|
-
"""
|
|
206
|
-
return self._idx
|
|
207
|
-
|
|
208
|
-
@idx.setter
|
|
209
|
-
def idx(self, idx):
|
|
210
|
-
"""Sets the idx of this SearchDetection.
|
|
211
|
-
|
|
212
|
-
Internal. # noqa: E501
|
|
213
|
-
|
|
214
|
-
:param idx: The idx of this SearchDetection. # noqa: E501
|
|
215
|
-
:type idx: int
|
|
216
|
-
"""
|
|
217
|
-
|
|
218
|
-
self._idx = idx
|
|
219
|
-
|
|
220
|
-
@property
|
|
221
|
-
def image(self):
|
|
222
|
-
"""Gets the image of this SearchDetection. # noqa: E501
|
|
223
|
-
|
|
224
|
-
Internal. # noqa: E501
|
|
225
|
-
|
|
226
|
-
:return: The image of this SearchDetection. # noqa: E501
|
|
227
|
-
:rtype: str
|
|
228
|
-
"""
|
|
229
|
-
return self._image
|
|
230
|
-
|
|
231
|
-
@image.setter
|
|
232
|
-
def image(self, image):
|
|
233
|
-
"""Sets the image of this SearchDetection.
|
|
234
|
-
|
|
235
|
-
Internal. # noqa: E501
|
|
236
|
-
|
|
237
|
-
:param image: The image of this SearchDetection. # noqa: E501
|
|
238
|
-
:type image: str
|
|
239
|
-
"""
|
|
240
|
-
|
|
241
|
-
self._image = image
|
|
242
|
-
|
|
243
|
-
@property
|
|
244
|
-
def landmarks(self):
|
|
245
|
-
"""Gets the landmarks of this SearchDetection. # noqa: E501
|
|
246
|
-
|
|
247
|
-
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
|
|
248
|
-
|
|
249
|
-
:return: The landmarks of this SearchDetection. # noqa: E501
|
|
250
|
-
:rtype: [[int]]
|
|
251
|
-
"""
|
|
252
|
-
return self._landmarks
|
|
253
|
-
|
|
254
|
-
@landmarks.setter
|
|
255
|
-
def landmarks(self, landmarks):
|
|
256
|
-
"""Sets the landmarks of this SearchDetection.
|
|
257
|
-
|
|
258
|
-
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
|
|
259
|
-
|
|
260
|
-
:param landmarks: The landmarks of this SearchDetection. # noqa: E501
|
|
261
|
-
:type landmarks: [[int]]
|
|
262
|
-
"""
|
|
263
|
-
|
|
264
|
-
self._landmarks = landmarks
|
|
265
|
-
|
|
266
|
-
@property
|
|
267
|
-
def landmarks_type(self):
|
|
268
|
-
"""Gets the landmarks_type of this SearchDetection. # noqa: E501
|
|
269
|
-
|
|
270
|
-
Internal. # noqa: E501
|
|
271
|
-
|
|
272
|
-
:return: The landmarks_type of this SearchDetection. # noqa: E501
|
|
273
|
-
:rtype: int
|
|
274
|
-
"""
|
|
275
|
-
return self._landmarks_type
|
|
276
|
-
|
|
277
|
-
@landmarks_type.setter
|
|
278
|
-
def landmarks_type(self, landmarks_type):
|
|
279
|
-
"""Sets the landmarks_type of this SearchDetection.
|
|
280
|
-
|
|
281
|
-
Internal. # noqa: E501
|
|
282
|
-
|
|
283
|
-
:param landmarks_type: The landmarks_type of this SearchDetection. # noqa: E501
|
|
284
|
-
:type landmarks_type: int
|
|
285
|
-
"""
|
|
286
|
-
|
|
287
|
-
self._landmarks_type = landmarks_type
|
|
288
|
-
|
|
289
|
-
@property
|
|
290
|
-
def msg(self):
|
|
291
|
-
"""Gets the msg of this SearchDetection. # noqa: E501
|
|
292
|
-
|
|
293
|
-
Internal. # noqa: E501
|
|
294
|
-
|
|
295
|
-
:return: The msg of this SearchDetection. # noqa: E501
|
|
296
|
-
:rtype: str
|
|
297
|
-
"""
|
|
298
|
-
return self._msg
|
|
299
|
-
|
|
300
|
-
@msg.setter
|
|
301
|
-
def msg(self, msg):
|
|
302
|
-
"""Sets the msg of this SearchDetection.
|
|
303
|
-
|
|
304
|
-
Internal. # noqa: E501
|
|
305
|
-
|
|
306
|
-
:param msg: The msg of this SearchDetection. # noqa: E501
|
|
307
|
-
:type msg: str
|
|
308
|
-
"""
|
|
309
|
-
|
|
310
|
-
self._msg = msg
|
|
311
|
-
|
|
312
|
-
@property
|
|
313
|
-
def roi(self):
|
|
314
|
-
"""Gets the roi of this SearchDetection. # noqa: E501
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
:return: The roi of this SearchDetection. # noqa: E501
|
|
318
|
-
:rtype: FaceRectangular
|
|
319
|
-
"""
|
|
320
|
-
return self._roi
|
|
321
|
-
|
|
322
|
-
@roi.setter
|
|
323
|
-
def roi(self, roi):
|
|
324
|
-
"""Sets the roi of this SearchDetection.
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
:param roi: The roi of this SearchDetection. # noqa: E501
|
|
328
|
-
:type roi: FaceRectangular
|
|
329
|
-
"""
|
|
330
|
-
|
|
331
|
-
self._roi = roi
|
|
332
|
-
|
|
333
|
-
@property
|
|
334
|
-
def version_sdk(self):
|
|
335
|
-
"""Gets the version_sdk of this SearchDetection. # noqa: E501
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
:return: The version_sdk of this SearchDetection. # noqa: E501
|
|
339
|
-
:rtype: str
|
|
340
|
-
"""
|
|
341
|
-
return self._version_sdk
|
|
342
|
-
|
|
343
|
-
@version_sdk.setter
|
|
344
|
-
def version_sdk(self, version_sdk):
|
|
345
|
-
"""Sets the version_sdk of this SearchDetection.
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
:param version_sdk: The version_sdk of this SearchDetection. # noqa: E501
|
|
349
|
-
:type version_sdk: str
|
|
350
|
-
"""
|
|
351
|
-
|
|
352
|
-
self._version_sdk = version_sdk
|
|
353
|
-
|
|
354
|
-
def to_dict(self):
|
|
355
|
-
"""Returns the model properties as a dict"""
|
|
356
|
-
result = {}
|
|
357
|
-
|
|
358
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
|
359
|
-
value = getattr(self, attr)
|
|
360
|
-
if isinstance(value, list):
|
|
361
|
-
result[attr] = list(map(
|
|
362
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
363
|
-
value
|
|
364
|
-
))
|
|
365
|
-
elif hasattr(value, "to_dict"):
|
|
366
|
-
result[attr] = value.to_dict()
|
|
367
|
-
elif isinstance(value, dict):
|
|
368
|
-
result[attr] = dict(map(
|
|
369
|
-
lambda item: (item[0], item[1].to_dict())
|
|
370
|
-
if hasattr(item[1], "to_dict") else item,
|
|
371
|
-
value.items()
|
|
372
|
-
))
|
|
373
|
-
else:
|
|
374
|
-
result[attr] = value
|
|
375
|
-
|
|
376
|
-
return result
|
|
377
|
-
|
|
378
|
-
def to_str(self):
|
|
379
|
-
"""Returns the string representation of the model"""
|
|
380
|
-
return pprint.pformat(self.to_dict())
|
|
381
|
-
|
|
382
|
-
def __repr__(self):
|
|
383
|
-
"""For `print` and `pprint`"""
|
|
384
|
-
return self.to_str()
|
|
385
|
-
|
|
386
|
-
def __eq__(self, other):
|
|
387
|
-
"""Returns true if both objects are equal"""
|
|
388
|
-
if not isinstance(other, SearchDetection):
|
|
389
|
-
return False
|
|
390
|
-
|
|
391
|
-
return self.to_dict() == other.to_dict()
|
|
392
|
-
|
|
393
|
-
def __ne__(self, other):
|
|
394
|
-
"""Returns true if both objects are not equal"""
|
|
395
|
-
if not isinstance(other, SearchDetection):
|
|
396
|
-
return True
|
|
397
|
-
|
|
398
|
-
return self.to_dict() != other.to_dict()
|
|
@@ -1,174 +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 SearchParameters(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
|
-
'create_person': 'SearchParametersCreatePerson',
|
|
37
|
-
'group_ids': '[str]',
|
|
38
|
-
'filter': 'FilterSearchRequest',
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
attribute_map = {
|
|
42
|
-
'create_person': 'createPerson',
|
|
43
|
-
'group_ids': 'groupIds',
|
|
44
|
-
'filter': 'filter',
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
def __init__(self, create_person=None, group_ids=None, filter=None, local_vars_configuration=None): # noqa: E501
|
|
48
|
-
"""SearchParameters - a model defined in OpenAPI""" # noqa: E501
|
|
49
|
-
if local_vars_configuration is None:
|
|
50
|
-
local_vars_configuration = Configuration()
|
|
51
|
-
self.local_vars_configuration = local_vars_configuration
|
|
52
|
-
|
|
53
|
-
self._create_person = None
|
|
54
|
-
self._group_ids = None
|
|
55
|
-
self._filter = None
|
|
56
|
-
self.discriminator = None
|
|
57
|
-
|
|
58
|
-
if create_person is not None:
|
|
59
|
-
self.create_person = create_person
|
|
60
|
-
if group_ids is not None:
|
|
61
|
-
self.group_ids = group_ids
|
|
62
|
-
if filter is not None:
|
|
63
|
-
self.filter = filter
|
|
64
|
-
|
|
65
|
-
@property
|
|
66
|
-
def create_person(self):
|
|
67
|
-
"""Gets the create_person of this SearchParameters. # noqa: E501
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
:return: The create_person of this SearchParameters. # noqa: E501
|
|
71
|
-
:rtype: SearchParametersCreatePerson
|
|
72
|
-
"""
|
|
73
|
-
return self._create_person
|
|
74
|
-
|
|
75
|
-
@create_person.setter
|
|
76
|
-
def create_person(self, create_person):
|
|
77
|
-
"""Sets the create_person of this SearchParameters.
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
:param create_person: The create_person of this SearchParameters. # noqa: E501
|
|
81
|
-
:type create_person: SearchParametersCreatePerson
|
|
82
|
-
"""
|
|
83
|
-
|
|
84
|
-
self._create_person = create_person
|
|
85
|
-
|
|
86
|
-
@property
|
|
87
|
-
def group_ids(self):
|
|
88
|
-
"""Gets the group_ids of this SearchParameters. # noqa: E501
|
|
89
|
-
|
|
90
|
-
IDs of the groups in which the search is performed. # noqa: E501
|
|
91
|
-
|
|
92
|
-
:return: The group_ids of this SearchParameters. # noqa: E501
|
|
93
|
-
:rtype: [str]
|
|
94
|
-
"""
|
|
95
|
-
return self._group_ids
|
|
96
|
-
|
|
97
|
-
@group_ids.setter
|
|
98
|
-
def group_ids(self, group_ids):
|
|
99
|
-
"""Sets the group_ids of this SearchParameters.
|
|
100
|
-
|
|
101
|
-
IDs of the groups in which the search is performed. # noqa: E501
|
|
102
|
-
|
|
103
|
-
:param group_ids: The group_ids of this SearchParameters. # noqa: E501
|
|
104
|
-
:type group_ids: [str]
|
|
105
|
-
"""
|
|
106
|
-
|
|
107
|
-
self._group_ids = group_ids
|
|
108
|
-
|
|
109
|
-
@property
|
|
110
|
-
def filter(self):
|
|
111
|
-
"""Gets the filter of this SearchParameters. # noqa: E501
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
:return: The filter of this SearchParameters. # noqa: E501
|
|
115
|
-
:rtype: FilterSearchRequest
|
|
116
|
-
"""
|
|
117
|
-
return self._filter
|
|
118
|
-
|
|
119
|
-
@filter.setter
|
|
120
|
-
def filter(self, filter):
|
|
121
|
-
"""Sets the filter of this SearchParameters.
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
:param filter: The filter of this SearchParameters. # noqa: E501
|
|
125
|
-
:type filter: FilterSearchRequest
|
|
126
|
-
"""
|
|
127
|
-
|
|
128
|
-
self._filter = filter
|
|
129
|
-
|
|
130
|
-
def to_dict(self):
|
|
131
|
-
"""Returns the model properties as a dict"""
|
|
132
|
-
result = {}
|
|
133
|
-
|
|
134
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
|
135
|
-
value = getattr(self, attr)
|
|
136
|
-
if isinstance(value, list):
|
|
137
|
-
result[attr] = list(map(
|
|
138
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
139
|
-
value
|
|
140
|
-
))
|
|
141
|
-
elif hasattr(value, "to_dict"):
|
|
142
|
-
result[attr] = value.to_dict()
|
|
143
|
-
elif isinstance(value, dict):
|
|
144
|
-
result[attr] = dict(map(
|
|
145
|
-
lambda item: (item[0], item[1].to_dict())
|
|
146
|
-
if hasattr(item[1], "to_dict") else item,
|
|
147
|
-
value.items()
|
|
148
|
-
))
|
|
149
|
-
else:
|
|
150
|
-
result[attr] = value
|
|
151
|
-
|
|
152
|
-
return result
|
|
153
|
-
|
|
154
|
-
def to_str(self):
|
|
155
|
-
"""Returns the string representation of the model"""
|
|
156
|
-
return pprint.pformat(self.to_dict())
|
|
157
|
-
|
|
158
|
-
def __repr__(self):
|
|
159
|
-
"""For `print` and `pprint`"""
|
|
160
|
-
return self.to_str()
|
|
161
|
-
|
|
162
|
-
def __eq__(self, other):
|
|
163
|
-
"""Returns true if both objects are equal"""
|
|
164
|
-
if not isinstance(other, SearchParameters):
|
|
165
|
-
return False
|
|
166
|
-
|
|
167
|
-
return self.to_dict() == other.to_dict()
|
|
168
|
-
|
|
169
|
-
def __ne__(self, other):
|
|
170
|
-
"""Returns true if both objects are not equal"""
|
|
171
|
-
if not isinstance(other, SearchParameters):
|
|
172
|
-
return True
|
|
173
|
-
|
|
174
|
-
return self.to_dict() != other.to_dict()
|