regula-facesdk-webclient 6.4.198.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.

Files changed (133) hide show
  1. regula/__init__.py +0 -0
  2. regula/facesdk/__init__.py +0 -0
  3. regula/facesdk/webclient/__init__.py +15 -0
  4. regula/facesdk/webclient/ext/__init__.py +5 -0
  5. regula/facesdk/webclient/ext/api/__init__.py +3 -0
  6. regula/facesdk/webclient/ext/api/group_api.py +36 -0
  7. regula/facesdk/webclient/ext/api/match_api.py +46 -0
  8. regula/facesdk/webclient/ext/api/person_api.py +46 -0
  9. regula/facesdk/webclient/ext/api/sdk.py +28 -0
  10. regula/facesdk/webclient/ext/api/search_api.py +17 -0
  11. regula/facesdk/webclient/ext/common.py +7 -0
  12. regula/facesdk/webclient/ext/models/__init__.py +6 -0
  13. regula/facesdk/webclient/ext/models/detect_request.py +32 -0
  14. regula/facesdk/webclient/ext/models/match_image.py +19 -0
  15. regula/facesdk/webclient/ext/models/match_request.py +34 -0
  16. regula/facesdk/webclient/gen/__init__.py +27 -0
  17. regula/facesdk/webclient/gen/api/__init__.py +3 -0
  18. regula/facesdk/webclient/gen/api/diagnostics_api.py +162 -0
  19. regula/facesdk/webclient/gen/api/group_api.py +1040 -0
  20. regula/facesdk/webclient/gen/api/healthcheck_api.py +283 -0
  21. regula/facesdk/webclient/gen/api/liveness_2_0_api.py +168 -0
  22. regula/facesdk/webclient/gen/api/liveness_api.py +424 -0
  23. regula/facesdk/webclient/gen/api/match_api.py +463 -0
  24. regula/facesdk/webclient/gen/api/person_api.py +1345 -0
  25. regula/facesdk/webclient/gen/api/search_api.py +177 -0
  26. regula/facesdk/webclient/gen/api_client.py +695 -0
  27. regula/facesdk/webclient/gen/apis/__init__.py +22 -0
  28. regula/facesdk/webclient/gen/configuration.py +446 -0
  29. regula/facesdk/webclient/gen/exceptions.py +159 -0
  30. regula/facesdk/webclient/gen/model/__init__.py +5 -0
  31. regula/facesdk/webclient/gen/model/add_image_to_person_request.py +205 -0
  32. regula/facesdk/webclient/gen/model/add_image_to_person_request_image.py +204 -0
  33. regula/facesdk/webclient/gen/model/add_image_to_person_response.py +262 -0
  34. regula/facesdk/webclient/gen/model/attribute_config.py +120 -0
  35. regula/facesdk/webclient/gen/model/attribute_config_list.py +92 -0
  36. regula/facesdk/webclient/gen/model/crop.py +208 -0
  37. regula/facesdk/webclient/gen/model/detect_request.py +204 -0
  38. regula/facesdk/webclient/gen/model/detect_request_attributes.py +120 -0
  39. regula/facesdk/webclient/gen/model/detect_response.py +147 -0
  40. regula/facesdk/webclient/gen/model/detect_response_all_of.py +120 -0
  41. regula/facesdk/webclient/gen/model/detect_result.py +231 -0
  42. regula/facesdk/webclient/gen/model/detection.py +258 -0
  43. regula/facesdk/webclient/gen/model/detection_attributes.py +148 -0
  44. regula/facesdk/webclient/gen/model/detection_face.py +260 -0
  45. regula/facesdk/webclient/gen/model/detection_quality.py +234 -0
  46. regula/facesdk/webclient/gen/model/device_info.py +231 -0
  47. regula/facesdk/webclient/gen/model/face_align_type_quality.py +109 -0
  48. regula/facesdk/webclient/gen/model/face_attribute.py +133 -0
  49. regula/facesdk/webclient/gen/model/face_image_quality_align_type.py +109 -0
  50. regula/facesdk/webclient/gen/model/face_image_quality_groups.py +118 -0
  51. regula/facesdk/webclient/gen/model/face_image_quality_groups_strings.py +118 -0
  52. regula/facesdk/webclient/gen/model/face_image_quality_status.py +103 -0
  53. regula/facesdk/webclient/gen/model/face_quality_config_name.py +238 -0
  54. regula/facesdk/webclient/gen/model/face_quality_scenarios.py +121 -0
  55. regula/facesdk/webclient/gen/model/face_quality_status.py +103 -0
  56. regula/facesdk/webclient/gen/model/face_rectangular.py +92 -0
  57. regula/facesdk/webclient/gen/model/face_sdk_result.py +121 -0
  58. regula/facesdk/webclient/gen/model/face_sdk_result_code.py +217 -0
  59. regula/facesdk/webclient/gen/model/faces_response.py +286 -0
  60. regula/facesdk/webclient/gen/model/faces_response_all_of.py +148 -0
  61. regula/facesdk/webclient/gen/model/filter_op.py +100 -0
  62. regula/facesdk/webclient/gen/model/filter_search_request.py +176 -0
  63. regula/facesdk/webclient/gen/model/group.py +206 -0
  64. regula/facesdk/webclient/gen/model/group_all_of.py +150 -0
  65. regula/facesdk/webclient/gen/model/group_page.py +178 -0
  66. regula/facesdk/webclient/gen/model/group_page_all_of.py +122 -0
  67. regula/facesdk/webclient/gen/model/group_response.py +150 -0
  68. regula/facesdk/webclient/gen/model/group_to_create.py +180 -0
  69. regula/facesdk/webclient/gen/model/image.py +290 -0
  70. regula/facesdk/webclient/gen/model/image_fields.py +258 -0
  71. regula/facesdk/webclient/gen/model/image_fields_image.py +204 -0
  72. regula/facesdk/webclient/gen/model/image_page.py +176 -0
  73. regula/facesdk/webclient/gen/model/image_page_all_of.py +120 -0
  74. regula/facesdk/webclient/gen/model/image_source.py +115 -0
  75. regula/facesdk/webclient/gen/model/liveness_transaction.py +334 -0
  76. regula/facesdk/webclient/gen/model/liveness_type.py +100 -0
  77. regula/facesdk/webclient/gen/model/match_and_search_request.py +178 -0
  78. regula/facesdk/webclient/gen/model/match_and_search_request_all_of.py +178 -0
  79. regula/facesdk/webclient/gen/model/match_and_search_request_all_of_images.py +148 -0
  80. regula/facesdk/webclient/gen/model/match_and_search_response.py +233 -0
  81. regula/facesdk/webclient/gen/model/match_and_search_response_all_of.py +206 -0
  82. regula/facesdk/webclient/gen/model/match_and_search_response_all_of_detections.py +176 -0
  83. regula/facesdk/webclient/gen/model/match_image.py +205 -0
  84. regula/facesdk/webclient/gen/model/match_image_detection.py +178 -0
  85. regula/facesdk/webclient/gen/model/match_image_result.py +316 -0
  86. regula/facesdk/webclient/gen/model/match_request.py +204 -0
  87. regula/facesdk/webclient/gen/model/match_request_output_image_params.py +148 -0
  88. regula/facesdk/webclient/gen/model/match_request_output_image_params_crop.py +212 -0
  89. regula/facesdk/webclient/gen/model/match_response.py +205 -0
  90. regula/facesdk/webclient/gen/model/match_response_all_of.py +178 -0
  91. regula/facesdk/webclient/gen/model/operation_log.py +206 -0
  92. regula/facesdk/webclient/gen/model/output_image_params.py +146 -0
  93. regula/facesdk/webclient/gen/model/page.py +150 -0
  94. regula/facesdk/webclient/gen/model/person.py +318 -0
  95. regula/facesdk/webclient/gen/model/person_all_of.py +206 -0
  96. regula/facesdk/webclient/gen/model/person_created_response.py +178 -0
  97. regula/facesdk/webclient/gen/model/person_fields.py +234 -0
  98. regula/facesdk/webclient/gen/model/person_to_update_fields.py +206 -0
  99. regula/facesdk/webclient/gen/model/person_with_images.py +346 -0
  100. regula/facesdk/webclient/gen/model/person_with_images_all_of.py +122 -0
  101. regula/facesdk/webclient/gen/model/persons_page.py +176 -0
  102. regula/facesdk/webclient/gen/model/persons_page_all_of.py +120 -0
  103. regula/facesdk/webclient/gen/model/process_param.py +226 -0
  104. regula/facesdk/webclient/gen/model/process_param_attributes.py +120 -0
  105. regula/facesdk/webclient/gen/model/quality_config.py +154 -0
  106. regula/facesdk/webclient/gen/model/quality_config_list.py +92 -0
  107. regula/facesdk/webclient/gen/model/quality_detail.py +234 -0
  108. regula/facesdk/webclient/gen/model/quality_details_groups.py +202 -0
  109. regula/facesdk/webclient/gen/model/quality_request.py +146 -0
  110. regula/facesdk/webclient/gen/model/recognize_image.py +346 -0
  111. regula/facesdk/webclient/gen/model/recognize_image_all_of.py +150 -0
  112. regula/facesdk/webclient/gen/model/resize_options.py +178 -0
  113. regula/facesdk/webclient/gen/model/rgb.py +92 -0
  114. regula/facesdk/webclient/gen/model/search_bad_params.py +172 -0
  115. regula/facesdk/webclient/gen/model/search_detection.py +398 -0
  116. regula/facesdk/webclient/gen/model/search_parameters.py +174 -0
  117. regula/facesdk/webclient/gen/model/search_parameters_create_person.py +177 -0
  118. regula/facesdk/webclient/gen/model/search_person.py +372 -0
  119. regula/facesdk/webclient/gen/model/search_person_all_of.py +148 -0
  120. regula/facesdk/webclient/gen/model/search_request.py +338 -0
  121. regula/facesdk/webclient/gen/model/search_request_all_of.py +178 -0
  122. regula/facesdk/webclient/gen/model/search_result.py +313 -0
  123. regula/facesdk/webclient/gen/model/search_result_all_of.py +122 -0
  124. regula/facesdk/webclient/gen/model/transaction_config.py +92 -0
  125. regula/facesdk/webclient/gen/model/transaction_info.py +344 -0
  126. regula/facesdk/webclient/gen/model/update_group.py +150 -0
  127. regula/facesdk/webclient/gen/model_utils.py +2037 -0
  128. regula/facesdk/webclient/gen/models/__init__.py +96 -0
  129. regula/facesdk/webclient/gen/rest.py +346 -0
  130. regula_facesdk_webclient-6.4.198.dev0.dist-info/METADATA +73 -0
  131. regula_facesdk_webclient-6.4.198.dev0.dist-info/RECORD +133 -0
  132. regula_facesdk_webclient-6.4.198.dev0.dist-info/WHEEL +5 -0
  133. regula_facesdk_webclient-6.4.198.dev0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,154 @@
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: 6.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 QualityConfig(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': 'FaceQualityConfigName',
37
+ 'range': '[float]',
38
+ }
39
+
40
+ attribute_map = {
41
+ 'name': 'name',
42
+ 'range': 'range',
43
+ }
44
+
45
+ def __init__(self, name=None, range=None, local_vars_configuration=None): # noqa: E501
46
+ """QualityConfig - 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._range = None
53
+ self.discriminator = None
54
+
55
+ if name is not None:
56
+ self.name = name
57
+ if range is not None:
58
+ self.range = range
59
+
60
+ @property
61
+ def name(self):
62
+ """Gets the name of this QualityConfig. # noqa: E501
63
+
64
+
65
+ :return: The name of this QualityConfig. # noqa: E501
66
+ :rtype: FaceQualityConfigName
67
+ """
68
+ return self._name
69
+
70
+ @name.setter
71
+ def name(self, name):
72
+ """Sets the name of this QualityConfig.
73
+
74
+
75
+ :param name: The name of this QualityConfig. # noqa: E501
76
+ :type name: FaceQualityConfigName
77
+ """
78
+
79
+ self._name = name
80
+
81
+ @property
82
+ def range(self):
83
+ """Gets the range of this QualityConfig. # noqa: E501
84
+
85
+ The range of applicable values for this characteristic. If the returned in the response value fits this range, the characteristic is identified as compliant with the requirements. # noqa: E501
86
+
87
+ :return: The range of this QualityConfig. # noqa: E501
88
+ :rtype: [float]
89
+ """
90
+ return self._range
91
+
92
+ @range.setter
93
+ def range(self, range):
94
+ """Sets the range of this QualityConfig.
95
+
96
+ The range of applicable values for this characteristic. If the returned in the response value fits this range, the characteristic is identified as compliant with the requirements. # noqa: E501
97
+
98
+ :param range: The range of this QualityConfig. # noqa: E501
99
+ :type range: [float]
100
+ """
101
+ if (self.local_vars_configuration.client_side_validation and
102
+ range is not None and len(range) > 2):
103
+ raise ValueError("Invalid value for `range`, number of items must be less than or equal to `2`") # noqa: E501
104
+ if (self.local_vars_configuration.client_side_validation and
105
+ range is not None and len(range) < 2):
106
+ raise ValueError("Invalid value for `range`, number of items must be greater than or equal to `2`") # noqa: E501
107
+
108
+ self._range = range
109
+
110
+ def to_dict(self):
111
+ """Returns the model properties as a dict"""
112
+ result = {}
113
+
114
+ for attr, _ in six.iteritems(self.openapi_types):
115
+ value = getattr(self, attr)
116
+ if isinstance(value, list):
117
+ result[attr] = list(map(
118
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
119
+ value
120
+ ))
121
+ elif hasattr(value, "to_dict"):
122
+ result[attr] = value.to_dict()
123
+ elif isinstance(value, dict):
124
+ result[attr] = dict(map(
125
+ lambda item: (item[0], item[1].to_dict())
126
+ if hasattr(item[1], "to_dict") else item,
127
+ value.items()
128
+ ))
129
+ else:
130
+ result[attr] = value
131
+
132
+ return result
133
+
134
+ def to_str(self):
135
+ """Returns the string representation of the model"""
136
+ return pprint.pformat(self.to_dict())
137
+
138
+ def __repr__(self):
139
+ """For `print` and `pprint`"""
140
+ return self.to_str()
141
+
142
+ def __eq__(self, other):
143
+ """Returns true if both objects are equal"""
144
+ if not isinstance(other, QualityConfig):
145
+ return False
146
+
147
+ return self.to_dict() == other.to_dict()
148
+
149
+ def __ne__(self, other):
150
+ """Returns true if both objects are not equal"""
151
+ if not isinstance(other, QualityConfig):
152
+ return True
153
+
154
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,92 @@
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: 6.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 QualityConfigList(object):
22
+ """NOTE: This class is auto generated by OpenAPI Generator.
23
+ Ref: https://openapi-generator.tech
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ openapi_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ openapi_types = {
36
+ }
37
+
38
+ attribute_map = {
39
+ }
40
+
41
+ def __init__(self, local_vars_configuration=None): # noqa: E501
42
+ """QualityConfigList - a model defined in OpenAPI""" # noqa: E501
43
+ if local_vars_configuration is None:
44
+ local_vars_configuration = Configuration()
45
+ self.local_vars_configuration = local_vars_configuration
46
+ self.discriminator = None
47
+
48
+ def to_dict(self):
49
+ """Returns the model properties as a dict"""
50
+ result = {}
51
+
52
+ for attr, _ in six.iteritems(self.openapi_types):
53
+ value = getattr(self, attr)
54
+ if isinstance(value, list):
55
+ result[attr] = list(map(
56
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
57
+ value
58
+ ))
59
+ elif hasattr(value, "to_dict"):
60
+ result[attr] = value.to_dict()
61
+ elif isinstance(value, dict):
62
+ result[attr] = dict(map(
63
+ lambda item: (item[0], item[1].to_dict())
64
+ if hasattr(item[1], "to_dict") else item,
65
+ value.items()
66
+ ))
67
+ else:
68
+ result[attr] = value
69
+
70
+ return result
71
+
72
+ def to_str(self):
73
+ """Returns the string representation of the model"""
74
+ return pprint.pformat(self.to_dict())
75
+
76
+ def __repr__(self):
77
+ """For `print` and `pprint`"""
78
+ return self.to_str()
79
+
80
+ def __eq__(self, other):
81
+ """Returns true if both objects are equal"""
82
+ if not isinstance(other, QualityConfigList):
83
+ return False
84
+
85
+ return self.to_dict() == other.to_dict()
86
+
87
+ def __ne__(self, other):
88
+ """Returns true if both objects are not equal"""
89
+ if not isinstance(other, QualityConfigList):
90
+ return True
91
+
92
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,234 @@
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: 6.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 QualityDetail(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
+ 'group_id': 'FaceImageQualityGroups',
37
+ 'name': 'FaceQualityConfigName',
38
+ 'range': '[float]',
39
+ 'status': 'FaceImageQualityStatus',
40
+ 'value': 'float',
41
+ }
42
+
43
+ attribute_map = {
44
+ 'group_id': 'groupId',
45
+ 'name': 'name',
46
+ 'range': 'range',
47
+ 'status': 'status',
48
+ 'value': 'value',
49
+ }
50
+
51
+ def __init__(self, group_id=None, name=None, range=None, status=None, value=None, local_vars_configuration=None): # noqa: E501
52
+ """QualityDetail - a model defined in OpenAPI""" # noqa: E501
53
+ if local_vars_configuration is None:
54
+ local_vars_configuration = Configuration()
55
+ self.local_vars_configuration = local_vars_configuration
56
+
57
+ self._group_id = None
58
+ self._name = None
59
+ self._range = None
60
+ self._status = None
61
+ self._value = None
62
+ self.discriminator = None
63
+
64
+ if group_id is not None:
65
+ self.group_id = group_id
66
+ if name is not None:
67
+ self.name = name
68
+ if range is not None:
69
+ self.range = range
70
+ if status is not None:
71
+ self.status = status
72
+ if value is not None:
73
+ self.value = value
74
+
75
+ @property
76
+ def group_id(self):
77
+ """Gets the group_id of this QualityDetail. # noqa: E501
78
+
79
+
80
+ :return: The group_id of this QualityDetail. # noqa: E501
81
+ :rtype: FaceImageQualityGroups
82
+ """
83
+ return self._group_id
84
+
85
+ @group_id.setter
86
+ def group_id(self, group_id):
87
+ """Sets the group_id of this QualityDetail.
88
+
89
+
90
+ :param group_id: The group_id of this QualityDetail. # noqa: E501
91
+ :type group_id: FaceImageQualityGroups
92
+ """
93
+
94
+ self._group_id = group_id
95
+
96
+ @property
97
+ def name(self):
98
+ """Gets the name of this QualityDetail. # noqa: E501
99
+
100
+
101
+ :return: The name of this QualityDetail. # noqa: E501
102
+ :rtype: FaceQualityConfigName
103
+ """
104
+ return self._name
105
+
106
+ @name.setter
107
+ def name(self, name):
108
+ """Sets the name of this QualityDetail.
109
+
110
+
111
+ :param name: The name of this QualityDetail. # noqa: E501
112
+ :type name: FaceQualityConfigName
113
+ """
114
+
115
+ self._name = name
116
+
117
+ @property
118
+ def range(self):
119
+ """Gets the range of this QualityDetail. # noqa: E501
120
+
121
+ The range of set values for this characteristic. # noqa: E501
122
+
123
+ :return: The range of this QualityDetail. # noqa: E501
124
+ :rtype: [float]
125
+ """
126
+ return self._range
127
+
128
+ @range.setter
129
+ def range(self, range):
130
+ """Sets the range of this QualityDetail.
131
+
132
+ The range of set values for this characteristic. # noqa: E501
133
+
134
+ :param range: The range of this QualityDetail. # noqa: E501
135
+ :type range: [float]
136
+ """
137
+ if (self.local_vars_configuration.client_side_validation and
138
+ range is not None and len(range) > 2):
139
+ raise ValueError("Invalid value for `range`, number of items must be less than or equal to `2`") # noqa: E501
140
+ if (self.local_vars_configuration.client_side_validation and
141
+ range is not None and len(range) < 2):
142
+ raise ValueError("Invalid value for `range`, number of items must be greater than or equal to `2`") # noqa: E501
143
+
144
+ self._range = range
145
+
146
+ @property
147
+ def status(self):
148
+ """Gets the status of this QualityDetail. # noqa: E501
149
+
150
+
151
+ :return: The status of this QualityDetail. # noqa: E501
152
+ :rtype: FaceImageQualityStatus
153
+ """
154
+ return self._status
155
+
156
+ @status.setter
157
+ def status(self, status):
158
+ """Sets the status of this QualityDetail.
159
+
160
+
161
+ :param status: The status of this QualityDetail. # noqa: E501
162
+ :type status: FaceImageQualityStatus
163
+ """
164
+
165
+ self._status = status
166
+
167
+ @property
168
+ def value(self):
169
+ """Gets the value of this QualityDetail. # noqa: E501
170
+
171
+ The assessed value for the characteristic, returned in the set units. # noqa: E501
172
+
173
+ :return: The value of this QualityDetail. # noqa: E501
174
+ :rtype: float
175
+ """
176
+ return self._value
177
+
178
+ @value.setter
179
+ def value(self, value):
180
+ """Sets the value of this QualityDetail.
181
+
182
+ The assessed value for the characteristic, returned in the set units. # noqa: E501
183
+
184
+ :param value: The value of this QualityDetail. # noqa: E501
185
+ :type value: float
186
+ """
187
+
188
+ self._value = value
189
+
190
+ def to_dict(self):
191
+ """Returns the model properties as a dict"""
192
+ result = {}
193
+
194
+ for attr, _ in six.iteritems(self.openapi_types):
195
+ value = getattr(self, attr)
196
+ if isinstance(value, list):
197
+ result[attr] = list(map(
198
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
199
+ value
200
+ ))
201
+ elif hasattr(value, "to_dict"):
202
+ result[attr] = value.to_dict()
203
+ elif isinstance(value, dict):
204
+ result[attr] = dict(map(
205
+ lambda item: (item[0], item[1].to_dict())
206
+ if hasattr(item[1], "to_dict") else item,
207
+ value.items()
208
+ ))
209
+ else:
210
+ result[attr] = value
211
+
212
+ return result
213
+
214
+ def to_str(self):
215
+ """Returns the string representation of the model"""
216
+ return pprint.pformat(self.to_dict())
217
+
218
+ def __repr__(self):
219
+ """For `print` and `pprint`"""
220
+ return self.to_str()
221
+
222
+ def __eq__(self, other):
223
+ """Returns true if both objects are equal"""
224
+ if not isinstance(other, QualityDetail):
225
+ return False
226
+
227
+ return self.to_dict() == other.to_dict()
228
+
229
+ def __ne__(self, other):
230
+ """Returns true if both objects are not equal"""
231
+ if not isinstance(other, QualityDetail):
232
+ return True
233
+
234
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,202 @@
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: 6.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 QualityDetailsGroups(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
+ 'group_id': 'FaceImageQualityGroups',
37
+ 'name': 'FaceImageQualityGroupsStrings',
38
+ 'total_count': 'int',
39
+ 'compliant_count': 'int',
40
+ }
41
+
42
+ attribute_map = {
43
+ 'group_id': 'groupId',
44
+ 'name': 'name',
45
+ 'total_count': 'totalCount',
46
+ 'compliant_count': 'compliantCount',
47
+ }
48
+
49
+ def __init__(self, group_id=None, name=None, total_count=None, compliant_count=None, local_vars_configuration=None): # noqa: E501
50
+ """QualityDetailsGroups - a model defined in OpenAPI""" # noqa: E501
51
+ if local_vars_configuration is None:
52
+ local_vars_configuration = Configuration()
53
+ self.local_vars_configuration = local_vars_configuration
54
+
55
+ self._group_id = None
56
+ self._name = None
57
+ self._total_count = None
58
+ self._compliant_count = None
59
+ self.discriminator = None
60
+
61
+ if group_id is not None:
62
+ self.group_id = group_id
63
+ if name is not None:
64
+ self.name = name
65
+ if total_count is not None:
66
+ self.total_count = total_count
67
+ if compliant_count is not None:
68
+ self.compliant_count = compliant_count
69
+
70
+ @property
71
+ def group_id(self):
72
+ """Gets the group_id of this QualityDetailsGroups. # noqa: E501
73
+
74
+
75
+ :return: The group_id of this QualityDetailsGroups. # noqa: E501
76
+ :rtype: FaceImageQualityGroups
77
+ """
78
+ return self._group_id
79
+
80
+ @group_id.setter
81
+ def group_id(self, group_id):
82
+ """Sets the group_id of this QualityDetailsGroups.
83
+
84
+
85
+ :param group_id: The group_id of this QualityDetailsGroups. # noqa: E501
86
+ :type group_id: FaceImageQualityGroups
87
+ """
88
+
89
+ self._group_id = group_id
90
+
91
+ @property
92
+ def name(self):
93
+ """Gets the name of this QualityDetailsGroups. # noqa: E501
94
+
95
+
96
+ :return: The name of this QualityDetailsGroups. # noqa: E501
97
+ :rtype: FaceImageQualityGroupsStrings
98
+ """
99
+ return self._name
100
+
101
+ @name.setter
102
+ def name(self, name):
103
+ """Sets the name of this QualityDetailsGroups.
104
+
105
+
106
+ :param name: The name of this QualityDetailsGroups. # noqa: E501
107
+ :type name: FaceImageQualityGroupsStrings
108
+ """
109
+
110
+ self._name = name
111
+
112
+ @property
113
+ def total_count(self):
114
+ """Gets the total_count of this QualityDetailsGroups. # noqa: E501
115
+
116
+ The total number of characteristics in the group. # noqa: E501
117
+
118
+ :return: The total_count of this QualityDetailsGroups. # noqa: E501
119
+ :rtype: int
120
+ """
121
+ return self._total_count
122
+
123
+ @total_count.setter
124
+ def total_count(self, total_count):
125
+ """Sets the total_count of this QualityDetailsGroups.
126
+
127
+ The total number of characteristics in the group. # noqa: E501
128
+
129
+ :param total_count: The total_count of this QualityDetailsGroups. # noqa: E501
130
+ :type total_count: int
131
+ """
132
+
133
+ self._total_count = total_count
134
+
135
+ @property
136
+ def compliant_count(self):
137
+ """Gets the compliant_count of this QualityDetailsGroups. # noqa: E501
138
+
139
+ The number of compliant characteristics in the group. # noqa: E501
140
+
141
+ :return: The compliant_count of this QualityDetailsGroups. # noqa: E501
142
+ :rtype: int
143
+ """
144
+ return self._compliant_count
145
+
146
+ @compliant_count.setter
147
+ def compliant_count(self, compliant_count):
148
+ """Sets the compliant_count of this QualityDetailsGroups.
149
+
150
+ The number of compliant characteristics in the group. # noqa: E501
151
+
152
+ :param compliant_count: The compliant_count of this QualityDetailsGroups. # noqa: E501
153
+ :type compliant_count: int
154
+ """
155
+
156
+ self._compliant_count = compliant_count
157
+
158
+ def to_dict(self):
159
+ """Returns the model properties as a dict"""
160
+ result = {}
161
+
162
+ for attr, _ in six.iteritems(self.openapi_types):
163
+ value = getattr(self, attr)
164
+ if isinstance(value, list):
165
+ result[attr] = list(map(
166
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
167
+ value
168
+ ))
169
+ elif hasattr(value, "to_dict"):
170
+ result[attr] = value.to_dict()
171
+ elif isinstance(value, dict):
172
+ result[attr] = dict(map(
173
+ lambda item: (item[0], item[1].to_dict())
174
+ if hasattr(item[1], "to_dict") else item,
175
+ value.items()
176
+ ))
177
+ else:
178
+ result[attr] = value
179
+
180
+ return result
181
+
182
+ def to_str(self):
183
+ """Returns the string representation of the model"""
184
+ return pprint.pformat(self.to_dict())
185
+
186
+ def __repr__(self):
187
+ """For `print` and `pprint`"""
188
+ return self.to_str()
189
+
190
+ def __eq__(self, other):
191
+ """Returns true if both objects are equal"""
192
+ if not isinstance(other, QualityDetailsGroups):
193
+ return False
194
+
195
+ return self.to_dict() == other.to_dict()
196
+
197
+ def __ne__(self, other):
198
+ """Returns true if both objects are not equal"""
199
+ if not isinstance(other, QualityDetailsGroups):
200
+ return True
201
+
202
+ return self.to_dict() != other.to_dict()