regula-facesdk-webclient 7.2.368rc0__py3-none-any.whl → 7.2.369.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.
Potentially problematic release.
This version of regula-facesdk-webclient might be problematic. Click here for more details.
- regula/facesdk/webclient/ext/api/sdk.py +1 -1
- regula/facesdk/webclient/ext/models/detect_request.py +0 -3
- regula/facesdk/webclient/ext/models/match_request.py +0 -2
- regula/facesdk/webclient/gen/__init__.py +1 -1
- regula/facesdk/webclient/gen/api/group_api.py +1 -1
- regula/facesdk/webclient/gen/api/healthcheck_api.py +5 -1
- regula/facesdk/webclient/gen/api/liveness_2_0_api.py +139 -1
- regula/facesdk/webclient/gen/api/match_api.py +5 -5
- regula/facesdk/webclient/gen/api/person_api.py +1 -1
- regula/facesdk/webclient/gen/api/search_api.py +8 -1
- regula/facesdk/webclient/gen/api_client.py +1 -1
- regula/facesdk/webclient/gen/configuration.py +2 -2
- regula/facesdk/webclient/gen/exceptions.py +1 -1
- regula/facesdk/webclient/gen/model/add_image_to_person_request.py +58 -2
- regula/facesdk/webclient/gen/model/add_image_to_person_request_image.py +1 -1
- regula/facesdk/webclient/gen/model/add_image_to_person_response.py +1 -1
- regula/facesdk/webclient/gen/model/attribute_config.py +1 -1
- regula/facesdk/webclient/gen/model/attribute_config_list.py +1 -1
- regula/facesdk/webclient/gen/model/crop.py +2 -30
- regula/facesdk/webclient/gen/model/detect_attributes_details.py +150 -0
- regula/facesdk/webclient/gen/model/detect_details_meta.py +178 -0
- regula/facesdk/webclient/gen/model/detect_request.py +48 -20
- regula/facesdk/webclient/gen/model/detect_response.py +1 -1
- regula/facesdk/webclient/gen/model/detect_response_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/detect_result.py +26 -22
- regula/facesdk/webclient/gen/model/detection.py +4 -32
- regula/facesdk/webclient/gen/model/detection_attributes.py +8 -6
- regula/facesdk/webclient/gen/model/detection_face.py +2 -30
- regula/facesdk/webclient/gen/model/detection_quality.py +27 -27
- regula/facesdk/webclient/gen/model/device_info.py +1 -1
- regula/facesdk/webclient/gen/model/face_attribute.py +1 -1
- regula/facesdk/webclient/gen/model/face_image_quality_align_type.py +1 -1
- regula/facesdk/webclient/gen/model/face_image_quality_groups.py +1 -1
- regula/facesdk/webclient/gen/model/face_image_quality_groups_strings.py +1 -1
- regula/facesdk/webclient/gen/model/face_image_quality_status.py +1 -1
- regula/facesdk/webclient/gen/model/face_quality_config_name.py +1 -1
- regula/facesdk/webclient/gen/model/face_quality_scenarios.py +5 -2
- regula/facesdk/webclient/gen/model/face_rectangular.py +1 -1
- regula/facesdk/webclient/gen/model/face_sdk_result.py +1 -1
- regula/facesdk/webclient/gen/model/face_sdk_result_code.py +1 -1
- regula/facesdk/webclient/gen/model/faces_response.py +2 -30
- regula/facesdk/webclient/gen/model/faces_response_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/filter_op.py +1 -1
- regula/facesdk/webclient/gen/model/filter_search_request.py +1 -1
- regula/facesdk/webclient/gen/model/group.py +1 -1
- regula/facesdk/webclient/gen/model/group_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/group_page.py +1 -1
- regula/facesdk/webclient/gen/model/group_page_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/group_response.py +1 -1
- regula/facesdk/webclient/gen/model/group_to_create.py +1 -1
- regula/facesdk/webclient/gen/model/image.py +30 -2
- regula/facesdk/webclient/gen/model/image_fields.py +1 -1
- regula/facesdk/webclient/gen/model/image_page.py +1 -1
- regula/facesdk/webclient/gen/model/image_page_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/image_source.py +1 -1
- regula/facesdk/webclient/gen/model/liveness_type.py +1 -1
- regula/facesdk/webclient/gen/model/match_and_search_request.py +119 -7
- regula/facesdk/webclient/gen/model/match_and_search_request_all_of.py +58 -2
- regula/facesdk/webclient/gen/model/match_and_search_request_all_of_images.py +1 -1
- regula/facesdk/webclient/gen/model/match_and_search_request_images.py +176 -0
- regula/facesdk/webclient/gen/model/match_and_search_response.py +3 -3
- regula/facesdk/webclient/gen/model/match_and_search_response_all_of.py +3 -3
- regula/facesdk/webclient/gen/model/match_and_search_response_all_of_detections.py +1 -1
- regula/facesdk/webclient/gen/model/match_image.py +1 -1
- regula/facesdk/webclient/gen/model/match_image_detection.py +1 -1
- regula/facesdk/webclient/gen/model/match_image_result.py +1 -1
- regula/facesdk/webclient/gen/model/match_request.py +60 -31
- regula/facesdk/webclient/gen/model/match_response.py +1 -1
- regula/facesdk/webclient/gen/model/match_response_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/operation_log.py +1 -1
- regula/facesdk/webclient/gen/model/output_image_params.py +1 -1
- regula/facesdk/webclient/gen/model/page.py +1 -1
- regula/facesdk/webclient/gen/model/person.py +20 -19
- regula/facesdk/webclient/gen/model/person_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/person_fields.py +20 -19
- regula/facesdk/webclient/gen/model/person_to_update_fields.py +1 -1
- regula/facesdk/webclient/gen/model/person_with_images.py +20 -19
- regula/facesdk/webclient/gen/model/person_with_images_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/persons_page.py +1 -1
- regula/facesdk/webclient/gen/model/persons_page_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/persons_request.py +291 -0
- regula/facesdk/webclient/gen/model/persons_request_all_of.py +150 -0
- regula/facesdk/webclient/gen/model/process_param.py +1 -1
- regula/facesdk/webclient/gen/model/process_param_attributes.py +1 -1
- regula/facesdk/webclient/gen/model/quality_config.py +3 -3
- regula/facesdk/webclient/gen/model/quality_config_list.py +1 -1
- regula/facesdk/webclient/gen/model/quality_detail.py +5 -5
- regula/facesdk/webclient/gen/model/quality_details_groups.py +1 -1
- regula/facesdk/webclient/gen/model/quality_request.py +1 -1
- regula/facesdk/webclient/gen/model/recognize_image.py +30 -2
- regula/facesdk/webclient/gen/model/recognize_image_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/resize_options.py +1 -1
- regula/facesdk/webclient/gen/model/rgb.py +1 -1
- regula/facesdk/webclient/gen/model/search_bad_params.py +1 -1
- regula/facesdk/webclient/gen/model/search_detection.py +1 -1
- regula/facesdk/webclient/gen/model/search_parameters.py +1 -1
- regula/facesdk/webclient/gen/model/search_parameters_create_person.py +1 -1
- regula/facesdk/webclient/gen/model/search_person.py +20 -19
- regula/facesdk/webclient/gen/model/search_person_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/search_request.py +58 -2
- regula/facesdk/webclient/gen/model/search_request_all_of.py +40 -68
- regula/facesdk/webclient/gen/model/search_result.py +2 -165
- regula/facesdk/webclient/gen/model/transaction_info.py +1 -1
- regula/facesdk/webclient/gen/model/update_group.py +1 -1
- regula/facesdk/webclient/gen/model_utils.py +1 -1
- regula/facesdk/webclient/gen/models/__init__.py +4 -2
- regula/facesdk/webclient/gen/rest.py +1 -1
- {regula_facesdk_webclient-7.2.368rc0.dist-info → regula_facesdk_webclient-7.2.369.dev0.dist-info}/METADATA +1 -1
- regula_facesdk_webclient-7.2.369.dev0.dist-info/RECORD +138 -0
- {regula_facesdk_webclient-7.2.368rc0.dist-info → regula_facesdk_webclient-7.2.369.dev0.dist-info}/WHEEL +1 -1
- regula_facesdk_webclient-7.2.368rc0.dist-info/RECORD +0 -133
- {regula_facesdk_webclient-7.2.368rc0.dist-info → regula_facesdk_webclient-7.2.369.dev0.dist-info}/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
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
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 7.2.0
|
|
9
9
|
Generated by: https://openapi-generator.tech
|
|
10
10
|
"""
|
|
11
11
|
|
|
@@ -36,17 +36,15 @@ class Crop(object):
|
|
|
36
36
|
'type': 'FaceImageQualityAlignType',
|
|
37
37
|
'pad_color': 'RGB',
|
|
38
38
|
'size': '[int]',
|
|
39
|
-
'return_original_rect': 'bool',
|
|
40
39
|
}
|
|
41
40
|
|
|
42
41
|
attribute_map = {
|
|
43
42
|
'type': 'type',
|
|
44
43
|
'pad_color': 'padColor',
|
|
45
44
|
'size': 'size',
|
|
46
|
-
'return_original_rect': 'returnOriginalRect',
|
|
47
45
|
}
|
|
48
46
|
|
|
49
|
-
def __init__(self, type=None, pad_color=None, size=None,
|
|
47
|
+
def __init__(self, type=None, pad_color=None, size=None, local_vars_configuration=None): # noqa: E501
|
|
50
48
|
"""Crop - a model defined in OpenAPI""" # noqa: E501
|
|
51
49
|
if local_vars_configuration is None:
|
|
52
50
|
local_vars_configuration = Configuration()
|
|
@@ -55,7 +53,6 @@ class Crop(object):
|
|
|
55
53
|
self._type = None
|
|
56
54
|
self._pad_color = None
|
|
57
55
|
self._size = None
|
|
58
|
-
self._return_original_rect = None
|
|
59
56
|
self.discriminator = None
|
|
60
57
|
|
|
61
58
|
if type is not None:
|
|
@@ -64,8 +61,6 @@ class Crop(object):
|
|
|
64
61
|
self.pad_color = pad_color
|
|
65
62
|
if size is not None:
|
|
66
63
|
self.size = size
|
|
67
|
-
if return_original_rect is not None:
|
|
68
|
-
self.return_original_rect = return_original_rect
|
|
69
64
|
|
|
70
65
|
@property
|
|
71
66
|
def type(self):
|
|
@@ -138,29 +133,6 @@ class Crop(object):
|
|
|
138
133
|
|
|
139
134
|
self._size = size
|
|
140
135
|
|
|
141
|
-
@property
|
|
142
|
-
def return_original_rect(self):
|
|
143
|
-
"""Gets the return_original_rect of this Crop. # noqa: E501
|
|
144
|
-
|
|
145
|
-
Whether to return the coordinates of the rectangle with the face in the original image prepared for the face crop. # noqa: E501
|
|
146
|
-
|
|
147
|
-
:return: The return_original_rect of this Crop. # noqa: E501
|
|
148
|
-
:rtype: bool
|
|
149
|
-
"""
|
|
150
|
-
return self._return_original_rect
|
|
151
|
-
|
|
152
|
-
@return_original_rect.setter
|
|
153
|
-
def return_original_rect(self, return_original_rect):
|
|
154
|
-
"""Sets the return_original_rect of this Crop.
|
|
155
|
-
|
|
156
|
-
Whether to return the coordinates of the rectangle with the face in the original image prepared for the face crop. # noqa: E501
|
|
157
|
-
|
|
158
|
-
:param return_original_rect: The return_original_rect of this Crop. # noqa: E501
|
|
159
|
-
:type return_original_rect: bool
|
|
160
|
-
"""
|
|
161
|
-
|
|
162
|
-
self._return_original_rect = return_original_rect
|
|
163
|
-
|
|
164
136
|
def to_dict(self):
|
|
165
137
|
"""Returns the model properties as a dict"""
|
|
166
138
|
result = {}
|
|
@@ -0,0 +1,150 @@
|
|
|
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 DetectAttributesDetails(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
|
+
'name': 'str',
|
|
37
|
+
'value': '[int]',
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
attribute_map = {
|
|
41
|
+
'name': 'name',
|
|
42
|
+
'value': 'value',
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
def __init__(self, name=None, value=None, local_vars_configuration=None): # noqa: E501
|
|
46
|
+
"""DetectAttributesDetails - 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._name = None
|
|
52
|
+
self._value = None
|
|
53
|
+
self.discriminator = None
|
|
54
|
+
|
|
55
|
+
if name is not None:
|
|
56
|
+
self.name = name
|
|
57
|
+
if value is not None:
|
|
58
|
+
self.value = value
|
|
59
|
+
|
|
60
|
+
@property
|
|
61
|
+
def name(self):
|
|
62
|
+
"""Gets the name of this DetectAttributesDetails. # noqa: E501
|
|
63
|
+
|
|
64
|
+
The name of the attribute. # noqa: E501
|
|
65
|
+
|
|
66
|
+
:return: The name of this DetectAttributesDetails. # noqa: E501
|
|
67
|
+
:rtype: str
|
|
68
|
+
"""
|
|
69
|
+
return self._name
|
|
70
|
+
|
|
71
|
+
@name.setter
|
|
72
|
+
def name(self, name):
|
|
73
|
+
"""Sets the name of this DetectAttributesDetails.
|
|
74
|
+
|
|
75
|
+
The name of the attribute. # noqa: E501
|
|
76
|
+
|
|
77
|
+
:param name: The name of this DetectAttributesDetails. # noqa: E501
|
|
78
|
+
:type name: str
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
self._name = name
|
|
82
|
+
|
|
83
|
+
@property
|
|
84
|
+
def value(self):
|
|
85
|
+
"""Gets the value of this DetectAttributesDetails. # noqa: E501
|
|
86
|
+
|
|
87
|
+
The estimated value for the attribute, see the [Returned values column](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/attributes-detection/). # noqa: E501
|
|
88
|
+
|
|
89
|
+
:return: The value of this DetectAttributesDetails. # noqa: E501
|
|
90
|
+
:rtype: [int]
|
|
91
|
+
"""
|
|
92
|
+
return self._value
|
|
93
|
+
|
|
94
|
+
@value.setter
|
|
95
|
+
def value(self, value):
|
|
96
|
+
"""Sets the value of this DetectAttributesDetails.
|
|
97
|
+
|
|
98
|
+
The estimated value for the attribute, see the [Returned values column](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/attributes-detection/). # noqa: E501
|
|
99
|
+
|
|
100
|
+
:param value: The value of this DetectAttributesDetails. # noqa: E501
|
|
101
|
+
:type value: [int]
|
|
102
|
+
"""
|
|
103
|
+
|
|
104
|
+
self._value = value
|
|
105
|
+
|
|
106
|
+
def to_dict(self):
|
|
107
|
+
"""Returns the model properties as a dict"""
|
|
108
|
+
result = {}
|
|
109
|
+
|
|
110
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
111
|
+
value = getattr(self, attr)
|
|
112
|
+
if isinstance(value, list):
|
|
113
|
+
result[attr] = list(map(
|
|
114
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
115
|
+
value
|
|
116
|
+
))
|
|
117
|
+
elif hasattr(value, "to_dict"):
|
|
118
|
+
result[attr] = value.to_dict()
|
|
119
|
+
elif isinstance(value, dict):
|
|
120
|
+
result[attr] = dict(map(
|
|
121
|
+
lambda item: (item[0], item[1].to_dict())
|
|
122
|
+
if hasattr(item[1], "to_dict") else item,
|
|
123
|
+
value.items()
|
|
124
|
+
))
|
|
125
|
+
else:
|
|
126
|
+
result[attr] = value
|
|
127
|
+
|
|
128
|
+
return result
|
|
129
|
+
|
|
130
|
+
def to_str(self):
|
|
131
|
+
"""Returns the string representation of the model"""
|
|
132
|
+
return pprint.pformat(self.to_dict())
|
|
133
|
+
|
|
134
|
+
def __repr__(self):
|
|
135
|
+
"""For `print` and `pprint`"""
|
|
136
|
+
return self.to_str()
|
|
137
|
+
|
|
138
|
+
def __eq__(self, other):
|
|
139
|
+
"""Returns true if both objects are equal"""
|
|
140
|
+
if not isinstance(other, DetectAttributesDetails):
|
|
141
|
+
return False
|
|
142
|
+
|
|
143
|
+
return self.to_dict() == other.to_dict()
|
|
144
|
+
|
|
145
|
+
def __ne__(self, other):
|
|
146
|
+
"""Returns true if both objects are not equal"""
|
|
147
|
+
if not isinstance(other, DetectAttributesDetails):
|
|
148
|
+
return True
|
|
149
|
+
|
|
150
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -0,0 +1,178 @@
|
|
|
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 DetectDetailsMeta(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
|
+
'confidence': 'float',
|
|
37
|
+
'value': 'str',
|
|
38
|
+
'name': 'str',
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
attribute_map = {
|
|
42
|
+
'confidence': 'confidence',
|
|
43
|
+
'value': 'value',
|
|
44
|
+
'name': 'name',
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
def __init__(self, confidence=None, value=None, name=None, local_vars_configuration=None): # noqa: E501
|
|
48
|
+
"""DetectDetailsMeta - 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._confidence = None
|
|
54
|
+
self._value = None
|
|
55
|
+
self._name = None
|
|
56
|
+
self.discriminator = None
|
|
57
|
+
|
|
58
|
+
if confidence is not None:
|
|
59
|
+
self.confidence = confidence
|
|
60
|
+
if value is not None:
|
|
61
|
+
self.value = value
|
|
62
|
+
if name is not None:
|
|
63
|
+
self.name = name
|
|
64
|
+
|
|
65
|
+
@property
|
|
66
|
+
def confidence(self):
|
|
67
|
+
"""Gets the confidence of this DetectDetailsMeta. # noqa: E501
|
|
68
|
+
|
|
69
|
+
The confidence in the estimated value, `1.0` is for 100% confidence. # noqa: E501
|
|
70
|
+
|
|
71
|
+
:return: The confidence of this DetectDetailsMeta. # noqa: E501
|
|
72
|
+
:rtype: float
|
|
73
|
+
"""
|
|
74
|
+
return self._confidence
|
|
75
|
+
|
|
76
|
+
@confidence.setter
|
|
77
|
+
def confidence(self, confidence):
|
|
78
|
+
"""Sets the confidence of this DetectDetailsMeta.
|
|
79
|
+
|
|
80
|
+
The confidence in the estimated value, `1.0` is for 100% confidence. # noqa: E501
|
|
81
|
+
|
|
82
|
+
:param confidence: The confidence of this DetectDetailsMeta. # noqa: E501
|
|
83
|
+
:type confidence: float
|
|
84
|
+
"""
|
|
85
|
+
|
|
86
|
+
self._confidence = confidence
|
|
87
|
+
|
|
88
|
+
@property
|
|
89
|
+
def value(self):
|
|
90
|
+
"""Gets the value of this DetectDetailsMeta. # noqa: E501
|
|
91
|
+
|
|
92
|
+
The estimated value for the attribute, see the [Returned values column](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/attributes-detection/). # noqa: E501
|
|
93
|
+
|
|
94
|
+
:return: The value of this DetectDetailsMeta. # noqa: E501
|
|
95
|
+
:rtype: str
|
|
96
|
+
"""
|
|
97
|
+
return self._value
|
|
98
|
+
|
|
99
|
+
@value.setter
|
|
100
|
+
def value(self, value):
|
|
101
|
+
"""Sets the value of this DetectDetailsMeta.
|
|
102
|
+
|
|
103
|
+
The estimated value for the attribute, see the [Returned values column](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/usage/face-detection/attributes-detection/). # noqa: E501
|
|
104
|
+
|
|
105
|
+
:param value: The value of this DetectDetailsMeta. # noqa: E501
|
|
106
|
+
:type value: str
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
self._value = value
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
def name(self):
|
|
113
|
+
"""Gets the name of this DetectDetailsMeta. # noqa: E501
|
|
114
|
+
|
|
115
|
+
The name of the attribute. # noqa: E501
|
|
116
|
+
|
|
117
|
+
:return: The name of this DetectDetailsMeta. # noqa: E501
|
|
118
|
+
:rtype: str
|
|
119
|
+
"""
|
|
120
|
+
return self._name
|
|
121
|
+
|
|
122
|
+
@name.setter
|
|
123
|
+
def name(self, name):
|
|
124
|
+
"""Sets the name of this DetectDetailsMeta.
|
|
125
|
+
|
|
126
|
+
The name of the attribute. # noqa: E501
|
|
127
|
+
|
|
128
|
+
:param name: The name of this DetectDetailsMeta. # noqa: E501
|
|
129
|
+
:type name: str
|
|
130
|
+
"""
|
|
131
|
+
|
|
132
|
+
self._name = name
|
|
133
|
+
|
|
134
|
+
def to_dict(self):
|
|
135
|
+
"""Returns the model properties as a dict"""
|
|
136
|
+
result = {}
|
|
137
|
+
|
|
138
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
139
|
+
value = getattr(self, attr)
|
|
140
|
+
if isinstance(value, list):
|
|
141
|
+
result[attr] = list(map(
|
|
142
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
143
|
+
value
|
|
144
|
+
))
|
|
145
|
+
elif hasattr(value, "to_dict"):
|
|
146
|
+
result[attr] = value.to_dict()
|
|
147
|
+
elif isinstance(value, dict):
|
|
148
|
+
result[attr] = dict(map(
|
|
149
|
+
lambda item: (item[0], item[1].to_dict())
|
|
150
|
+
if hasattr(item[1], "to_dict") else item,
|
|
151
|
+
value.items()
|
|
152
|
+
))
|
|
153
|
+
else:
|
|
154
|
+
result[attr] = value
|
|
155
|
+
|
|
156
|
+
return result
|
|
157
|
+
|
|
158
|
+
def to_str(self):
|
|
159
|
+
"""Returns the string representation of the model"""
|
|
160
|
+
return pprint.pformat(self.to_dict())
|
|
161
|
+
|
|
162
|
+
def __repr__(self):
|
|
163
|
+
"""For `print` and `pprint`"""
|
|
164
|
+
return self.to_str()
|
|
165
|
+
|
|
166
|
+
def __eq__(self, other):
|
|
167
|
+
"""Returns true if both objects are equal"""
|
|
168
|
+
if not isinstance(other, DetectDetailsMeta):
|
|
169
|
+
return False
|
|
170
|
+
|
|
171
|
+
return self.to_dict() == other.to_dict()
|
|
172
|
+
|
|
173
|
+
def __ne__(self, other):
|
|
174
|
+
"""Returns true if both objects are not equal"""
|
|
175
|
+
if not isinstance(other, DetectDetailsMeta):
|
|
176
|
+
return True
|
|
177
|
+
|
|
178
|
+
return self.to_dict() != other.to_dict()
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
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
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 7.2.0
|
|
9
9
|
Generated by: https://openapi-generator.tech
|
|
10
10
|
"""
|
|
11
11
|
|
|
@@ -36,17 +36,19 @@ class DetectRequest(object):
|
|
|
36
36
|
'tag': 'str',
|
|
37
37
|
'process_param': 'ProcessParam',
|
|
38
38
|
'image': 'str',
|
|
39
|
-
'
|
|
39
|
+
'tenant': 'str',
|
|
40
|
+
'env': 'str',
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
attribute_map = {
|
|
43
44
|
'tag': 'tag',
|
|
44
45
|
'process_param': 'processParam',
|
|
45
46
|
'image': 'image',
|
|
46
|
-
'
|
|
47
|
+
'tenant': 'tenant',
|
|
48
|
+
'env': 'env',
|
|
47
49
|
}
|
|
48
50
|
|
|
49
|
-
def __init__(self, tag=None, process_param=None, image=None,
|
|
51
|
+
def __init__(self, tag=None, process_param=None, image=None, tenant=None, env=None, local_vars_configuration=None): # noqa: E501
|
|
50
52
|
"""DetectRequest - a model defined in OpenAPI""" # noqa: E501
|
|
51
53
|
if local_vars_configuration is None:
|
|
52
54
|
local_vars_configuration = Configuration()
|
|
@@ -55,7 +57,8 @@ class DetectRequest(object):
|
|
|
55
57
|
self._tag = None
|
|
56
58
|
self._process_param = None
|
|
57
59
|
self._image = None
|
|
58
|
-
self.
|
|
60
|
+
self._tenant = None
|
|
61
|
+
self._env = None
|
|
59
62
|
self.discriminator = None
|
|
60
63
|
|
|
61
64
|
if tag is not None:
|
|
@@ -64,8 +67,10 @@ class DetectRequest(object):
|
|
|
64
67
|
self.process_param = process_param
|
|
65
68
|
if image is not None:
|
|
66
69
|
self.image = image
|
|
67
|
-
if
|
|
68
|
-
self.
|
|
70
|
+
if tenant is not None:
|
|
71
|
+
self.tenant = tenant
|
|
72
|
+
if env is not None:
|
|
73
|
+
self.env = env
|
|
69
74
|
|
|
70
75
|
@property
|
|
71
76
|
def tag(self):
|
|
@@ -135,27 +140,50 @@ class DetectRequest(object):
|
|
|
135
140
|
self._image = image
|
|
136
141
|
|
|
137
142
|
@property
|
|
138
|
-
def
|
|
139
|
-
"""Gets the
|
|
143
|
+
def tenant(self):
|
|
144
|
+
"""Gets the tenant of this DetectRequest. # noqa: E501
|
|
140
145
|
|
|
141
|
-
|
|
146
|
+
A label used to group transactions by customers, applications, or other criteria. # noqa: E501
|
|
142
147
|
|
|
143
|
-
:return: The
|
|
144
|
-
:rtype:
|
|
148
|
+
:return: The tenant of this DetectRequest. # noqa: E501
|
|
149
|
+
:rtype: str
|
|
150
|
+
"""
|
|
151
|
+
return self._tenant
|
|
152
|
+
|
|
153
|
+
@tenant.setter
|
|
154
|
+
def tenant(self, tenant):
|
|
155
|
+
"""Sets the tenant of this DetectRequest.
|
|
156
|
+
|
|
157
|
+
A label used to group transactions by customers, applications, or other criteria. # noqa: E501
|
|
158
|
+
|
|
159
|
+
:param tenant: The tenant of this DetectRequest. # noqa: E501
|
|
160
|
+
:type tenant: str
|
|
161
|
+
"""
|
|
162
|
+
|
|
163
|
+
self._tenant = tenant
|
|
164
|
+
|
|
165
|
+
@property
|
|
166
|
+
def env(self):
|
|
167
|
+
"""Gets the env of this DetectRequest. # noqa: E501
|
|
168
|
+
|
|
169
|
+
A label used to differentiate transactions by development stages. # noqa: E501
|
|
170
|
+
|
|
171
|
+
:return: The env of this DetectRequest. # noqa: E501
|
|
172
|
+
:rtype: str
|
|
145
173
|
"""
|
|
146
|
-
return self.
|
|
174
|
+
return self._env
|
|
147
175
|
|
|
148
|
-
@
|
|
149
|
-
def
|
|
150
|
-
"""Sets the
|
|
176
|
+
@env.setter
|
|
177
|
+
def env(self, env):
|
|
178
|
+
"""Sets the env of this DetectRequest.
|
|
151
179
|
|
|
152
|
-
|
|
180
|
+
A label used to differentiate transactions by development stages. # noqa: E501
|
|
153
181
|
|
|
154
|
-
:param
|
|
155
|
-
:type
|
|
182
|
+
:param env: The env of this DetectRequest. # noqa: E501
|
|
183
|
+
:type env: str
|
|
156
184
|
"""
|
|
157
185
|
|
|
158
|
-
self.
|
|
186
|
+
self._env = env
|
|
159
187
|
|
|
160
188
|
def to_dict(self):
|
|
161
189
|
"""Returns the model properties as a dict"""
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
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
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 7.2.0
|
|
9
9
|
Generated by: https://openapi-generator.tech
|
|
10
10
|
"""
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
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
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 7.2.0
|
|
9
9
|
Generated by: https://openapi-generator.tech
|
|
10
10
|
"""
|
|
11
11
|
|