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,234 +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 DetectionQuality(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
|
-
'non_compliant': '[FaceQualityConfigName]',
|
|
37
|
-
'details_groups': '[QualityDetailsGroups]',
|
|
38
|
-
'details': '[QualityDetail]',
|
|
39
|
-
'score': 'float',
|
|
40
|
-
'elapsed_time': 'float',
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
attribute_map = {
|
|
44
|
-
'non_compliant': 'nonCompliant',
|
|
45
|
-
'details_groups': 'detailsGroups',
|
|
46
|
-
'details': 'details',
|
|
47
|
-
'score': 'score',
|
|
48
|
-
'elapsed_time': 'elapsedTime',
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
def __init__(self, non_compliant=None, details_groups=None, details=None, score=None, elapsed_time=None, local_vars_configuration=None): # noqa: E501
|
|
52
|
-
"""DetectionQuality - 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._non_compliant = None
|
|
58
|
-
self._details_groups = None
|
|
59
|
-
self._details = None
|
|
60
|
-
self._score = None
|
|
61
|
-
self._elapsed_time = None
|
|
62
|
-
self.discriminator = None
|
|
63
|
-
|
|
64
|
-
if non_compliant is not None:
|
|
65
|
-
self.non_compliant = non_compliant
|
|
66
|
-
if details_groups is not None:
|
|
67
|
-
self.details_groups = details_groups
|
|
68
|
-
if details is not None:
|
|
69
|
-
self.details = details
|
|
70
|
-
if score is not None:
|
|
71
|
-
self.score = score
|
|
72
|
-
if elapsed_time is not None:
|
|
73
|
-
self.elapsed_time = elapsed_time
|
|
74
|
-
|
|
75
|
-
@property
|
|
76
|
-
def non_compliant(self):
|
|
77
|
-
"""Gets the non_compliant of this DetectionQuality. # noqa: E501
|
|
78
|
-
|
|
79
|
-
Non-compliant assessment characteristics. # noqa: E501
|
|
80
|
-
|
|
81
|
-
:return: The non_compliant of this DetectionQuality. # noqa: E501
|
|
82
|
-
:rtype: [FaceQualityConfigName]
|
|
83
|
-
"""
|
|
84
|
-
return self._non_compliant
|
|
85
|
-
|
|
86
|
-
@non_compliant.setter
|
|
87
|
-
def non_compliant(self, non_compliant):
|
|
88
|
-
"""Sets the non_compliant of this DetectionQuality.
|
|
89
|
-
|
|
90
|
-
Non-compliant assessment characteristics. # noqa: E501
|
|
91
|
-
|
|
92
|
-
:param non_compliant: The non_compliant of this DetectionQuality. # noqa: E501
|
|
93
|
-
:type non_compliant: [FaceQualityConfigName]
|
|
94
|
-
"""
|
|
95
|
-
|
|
96
|
-
self._non_compliant = non_compliant
|
|
97
|
-
|
|
98
|
-
@property
|
|
99
|
-
def details_groups(self):
|
|
100
|
-
"""Gets the details_groups of this DetectionQuality. # noqa: E501
|
|
101
|
-
|
|
102
|
-
Assessment results for each [group of characteristics](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/enums/face-image-quality-groups/). # noqa: E501
|
|
103
|
-
|
|
104
|
-
:return: The details_groups of this DetectionQuality. # noqa: E501
|
|
105
|
-
:rtype: [QualityDetailsGroups]
|
|
106
|
-
"""
|
|
107
|
-
return self._details_groups
|
|
108
|
-
|
|
109
|
-
@details_groups.setter
|
|
110
|
-
def details_groups(self, details_groups):
|
|
111
|
-
"""Sets the details_groups of this DetectionQuality.
|
|
112
|
-
|
|
113
|
-
Assessment results for each [group of characteristics](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/enums/face-image-quality-groups/). # noqa: E501
|
|
114
|
-
|
|
115
|
-
:param details_groups: The details_groups of this DetectionQuality. # noqa: E501
|
|
116
|
-
:type details_groups: [QualityDetailsGroups]
|
|
117
|
-
"""
|
|
118
|
-
|
|
119
|
-
self._details_groups = details_groups
|
|
120
|
-
|
|
121
|
-
@property
|
|
122
|
-
def details(self):
|
|
123
|
-
"""Gets the details of this DetectionQuality. # noqa: E501
|
|
124
|
-
|
|
125
|
-
Assessment characteristics that were set in the request. # noqa: E501
|
|
126
|
-
|
|
127
|
-
:return: The details of this DetectionQuality. # noqa: E501
|
|
128
|
-
:rtype: [QualityDetail]
|
|
129
|
-
"""
|
|
130
|
-
return self._details
|
|
131
|
-
|
|
132
|
-
@details.setter
|
|
133
|
-
def details(self, details):
|
|
134
|
-
"""Sets the details of this DetectionQuality.
|
|
135
|
-
|
|
136
|
-
Assessment characteristics that were set in the request. # noqa: E501
|
|
137
|
-
|
|
138
|
-
:param details: The details of this DetectionQuality. # noqa: E501
|
|
139
|
-
:type details: [QualityDetail]
|
|
140
|
-
"""
|
|
141
|
-
|
|
142
|
-
self._details = details
|
|
143
|
-
|
|
144
|
-
@property
|
|
145
|
-
def score(self):
|
|
146
|
-
"""Gets the score of this DetectionQuality. # noqa: E501
|
|
147
|
-
|
|
148
|
-
Returns the estimated portrait quality assessment result, a number from `0` to `1`, where `1` is for absolute compliance. # noqa: E501
|
|
149
|
-
|
|
150
|
-
:return: The score of this DetectionQuality. # noqa: E501
|
|
151
|
-
:rtype: float
|
|
152
|
-
"""
|
|
153
|
-
return self._score
|
|
154
|
-
|
|
155
|
-
@score.setter
|
|
156
|
-
def score(self, score):
|
|
157
|
-
"""Sets the score of this DetectionQuality.
|
|
158
|
-
|
|
159
|
-
Returns the estimated portrait quality assessment result, a number from `0` to `1`, where `1` is for absolute compliance. # noqa: E501
|
|
160
|
-
|
|
161
|
-
:param score: The score of this DetectionQuality. # noqa: E501
|
|
162
|
-
:type score: float
|
|
163
|
-
"""
|
|
164
|
-
|
|
165
|
-
self._score = score
|
|
166
|
-
|
|
167
|
-
@property
|
|
168
|
-
def elapsed_time(self):
|
|
169
|
-
"""Gets the elapsed_time of this DetectionQuality. # noqa: E501
|
|
170
|
-
|
|
171
|
-
Server processing time for quality assessment, ms. # noqa: E501
|
|
172
|
-
|
|
173
|
-
:return: The elapsed_time of this DetectionQuality. # noqa: E501
|
|
174
|
-
:rtype: float
|
|
175
|
-
"""
|
|
176
|
-
return self._elapsed_time
|
|
177
|
-
|
|
178
|
-
@elapsed_time.setter
|
|
179
|
-
def elapsed_time(self, elapsed_time):
|
|
180
|
-
"""Sets the elapsed_time of this DetectionQuality.
|
|
181
|
-
|
|
182
|
-
Server processing time for quality assessment, ms. # noqa: E501
|
|
183
|
-
|
|
184
|
-
:param elapsed_time: The elapsed_time of this DetectionQuality. # noqa: E501
|
|
185
|
-
:type elapsed_time: float
|
|
186
|
-
"""
|
|
187
|
-
|
|
188
|
-
self._elapsed_time = elapsed_time
|
|
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, DetectionQuality):
|
|
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, DetectionQuality):
|
|
232
|
-
return True
|
|
233
|
-
|
|
234
|
-
return self.to_dict() != other.to_dict()
|
|
@@ -1,231 +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 DeviceInfo(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
|
-
'app': 'str',
|
|
37
|
-
'license_id': 'str, none_type',
|
|
38
|
-
'license_serial': 'str, none_type',
|
|
39
|
-
'license_valid_until': 'datetime, none_type',
|
|
40
|
-
'version': 'str, none_type',
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
attribute_map = {
|
|
44
|
-
'app': 'app',
|
|
45
|
-
'license_id': 'licenseId',
|
|
46
|
-
'license_serial': 'licenseSerial',
|
|
47
|
-
'license_valid_until': 'licenseValidUntil',
|
|
48
|
-
'version': 'version',
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
def __init__(self, app=None, license_id=None, license_serial=None, license_valid_until=None, version=None, local_vars_configuration=None): # noqa: E501
|
|
52
|
-
"""DeviceInfo - 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._app = None
|
|
58
|
-
self._license_id = None
|
|
59
|
-
self._license_serial = None
|
|
60
|
-
self._license_valid_until = None
|
|
61
|
-
self._version = None
|
|
62
|
-
self.discriminator = None
|
|
63
|
-
|
|
64
|
-
self.app = app
|
|
65
|
-
self.license_id = license_id
|
|
66
|
-
self.license_serial = license_serial
|
|
67
|
-
self.license_valid_until = license_valid_until
|
|
68
|
-
self.version = version
|
|
69
|
-
|
|
70
|
-
@property
|
|
71
|
-
def app(self):
|
|
72
|
-
"""Gets the app of this DeviceInfo. # noqa: E501
|
|
73
|
-
|
|
74
|
-
Application name. # noqa: E501
|
|
75
|
-
|
|
76
|
-
:return: The app of this DeviceInfo. # noqa: E501
|
|
77
|
-
:rtype: str
|
|
78
|
-
"""
|
|
79
|
-
return self._app
|
|
80
|
-
|
|
81
|
-
@app.setter
|
|
82
|
-
def app(self, app):
|
|
83
|
-
"""Sets the app of this DeviceInfo.
|
|
84
|
-
|
|
85
|
-
Application name. # noqa: E501
|
|
86
|
-
|
|
87
|
-
:param app: The app of this DeviceInfo. # noqa: E501
|
|
88
|
-
:type app: str
|
|
89
|
-
"""
|
|
90
|
-
if self.local_vars_configuration.client_side_validation and app is None: # noqa: E501
|
|
91
|
-
raise ValueError("Invalid value for `app`, must not be `None`") # noqa: E501
|
|
92
|
-
|
|
93
|
-
self._app = app
|
|
94
|
-
|
|
95
|
-
@property
|
|
96
|
-
def license_id(self):
|
|
97
|
-
"""Gets the license_id of this DeviceInfo. # noqa: E501
|
|
98
|
-
|
|
99
|
-
Unique license identifier. # noqa: E501
|
|
100
|
-
|
|
101
|
-
:return: The license_id of this DeviceInfo. # noqa: E501
|
|
102
|
-
:rtype: str, none_type
|
|
103
|
-
"""
|
|
104
|
-
return self._license_id
|
|
105
|
-
|
|
106
|
-
@license_id.setter
|
|
107
|
-
def license_id(self, license_id):
|
|
108
|
-
"""Sets the license_id of this DeviceInfo.
|
|
109
|
-
|
|
110
|
-
Unique license identifier. # noqa: E501
|
|
111
|
-
|
|
112
|
-
:param license_id: The license_id of this DeviceInfo. # noqa: E501
|
|
113
|
-
:type license_id: str, none_type
|
|
114
|
-
"""
|
|
115
|
-
|
|
116
|
-
self._license_id = license_id
|
|
117
|
-
|
|
118
|
-
@property
|
|
119
|
-
def license_serial(self):
|
|
120
|
-
"""Gets the license_serial of this DeviceInfo. # noqa: E501
|
|
121
|
-
|
|
122
|
-
License serial number. # noqa: E501
|
|
123
|
-
|
|
124
|
-
:return: The license_serial of this DeviceInfo. # noqa: E501
|
|
125
|
-
:rtype: str, none_type
|
|
126
|
-
"""
|
|
127
|
-
return self._license_serial
|
|
128
|
-
|
|
129
|
-
@license_serial.setter
|
|
130
|
-
def license_serial(self, license_serial):
|
|
131
|
-
"""Sets the license_serial of this DeviceInfo.
|
|
132
|
-
|
|
133
|
-
License serial number. # noqa: E501
|
|
134
|
-
|
|
135
|
-
:param license_serial: The license_serial of this DeviceInfo. # noqa: E501
|
|
136
|
-
:type license_serial: str, none_type
|
|
137
|
-
"""
|
|
138
|
-
|
|
139
|
-
self._license_serial = license_serial
|
|
140
|
-
|
|
141
|
-
@property
|
|
142
|
-
def license_valid_until(self):
|
|
143
|
-
"""Gets the license_valid_until of this DeviceInfo. # noqa: E501
|
|
144
|
-
|
|
145
|
-
License validity date. # noqa: E501
|
|
146
|
-
|
|
147
|
-
:return: The license_valid_until of this DeviceInfo. # noqa: E501
|
|
148
|
-
:rtype: datetime, none_type
|
|
149
|
-
"""
|
|
150
|
-
return self._license_valid_until
|
|
151
|
-
|
|
152
|
-
@license_valid_until.setter
|
|
153
|
-
def license_valid_until(self, license_valid_until):
|
|
154
|
-
"""Sets the license_valid_until of this DeviceInfo.
|
|
155
|
-
|
|
156
|
-
License validity date. # noqa: E501
|
|
157
|
-
|
|
158
|
-
:param license_valid_until: The license_valid_until of this DeviceInfo. # noqa: E501
|
|
159
|
-
:type license_valid_until: datetime, none_type
|
|
160
|
-
"""
|
|
161
|
-
|
|
162
|
-
self._license_valid_until = license_valid_until
|
|
163
|
-
|
|
164
|
-
@property
|
|
165
|
-
def version(self):
|
|
166
|
-
"""Gets the version of this DeviceInfo. # noqa: E501
|
|
167
|
-
|
|
168
|
-
Product version. # noqa: E501
|
|
169
|
-
|
|
170
|
-
:return: The version of this DeviceInfo. # noqa: E501
|
|
171
|
-
:rtype: str, none_type
|
|
172
|
-
"""
|
|
173
|
-
return self._version
|
|
174
|
-
|
|
175
|
-
@version.setter
|
|
176
|
-
def version(self, version):
|
|
177
|
-
"""Sets the version of this DeviceInfo.
|
|
178
|
-
|
|
179
|
-
Product version. # noqa: E501
|
|
180
|
-
|
|
181
|
-
:param version: The version of this DeviceInfo. # noqa: E501
|
|
182
|
-
:type version: str, none_type
|
|
183
|
-
"""
|
|
184
|
-
|
|
185
|
-
self._version = version
|
|
186
|
-
|
|
187
|
-
def to_dict(self):
|
|
188
|
-
"""Returns the model properties as a dict"""
|
|
189
|
-
result = {}
|
|
190
|
-
|
|
191
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
|
192
|
-
value = getattr(self, attr)
|
|
193
|
-
if isinstance(value, list):
|
|
194
|
-
result[attr] = list(map(
|
|
195
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
196
|
-
value
|
|
197
|
-
))
|
|
198
|
-
elif hasattr(value, "to_dict"):
|
|
199
|
-
result[attr] = value.to_dict()
|
|
200
|
-
elif isinstance(value, dict):
|
|
201
|
-
result[attr] = dict(map(
|
|
202
|
-
lambda item: (item[0], item[1].to_dict())
|
|
203
|
-
if hasattr(item[1], "to_dict") else item,
|
|
204
|
-
value.items()
|
|
205
|
-
))
|
|
206
|
-
else:
|
|
207
|
-
result[attr] = value
|
|
208
|
-
|
|
209
|
-
return result
|
|
210
|
-
|
|
211
|
-
def to_str(self):
|
|
212
|
-
"""Returns the string representation of the model"""
|
|
213
|
-
return pprint.pformat(self.to_dict())
|
|
214
|
-
|
|
215
|
-
def __repr__(self):
|
|
216
|
-
"""For `print` and `pprint`"""
|
|
217
|
-
return self.to_str()
|
|
218
|
-
|
|
219
|
-
def __eq__(self, other):
|
|
220
|
-
"""Returns true if both objects are equal"""
|
|
221
|
-
if not isinstance(other, DeviceInfo):
|
|
222
|
-
return False
|
|
223
|
-
|
|
224
|
-
return self.to_dict() == other.to_dict()
|
|
225
|
-
|
|
226
|
-
def __ne__(self, other):
|
|
227
|
-
"""Returns true if both objects are not equal"""
|
|
228
|
-
if not isinstance(other, DeviceInfo):
|
|
229
|
-
return True
|
|
230
|
-
|
|
231
|
-
return self.to_dict() != other.to_dict()
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Regula FaceSDK Web API
|
|
5
|
-
|
|
6
|
-
Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: 4.1.0
|
|
9
|
-
Generated by: https://openapi-generator.tech
|
|
10
|
-
"""
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
import pprint
|
|
14
|
-
import re # noqa: F401
|
|
15
|
-
|
|
16
|
-
import six
|
|
17
|
-
|
|
18
|
-
from regula.facesdk.webclient.gen.configuration import Configuration
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
class FaceAlignTypeQuality(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
|
-
ALIGN_3x4 = int(0)
|
|
30
|
-
|
|
31
|
-
""
|
|
32
|
-
ALIGN_4x5 = int(1)
|
|
33
|
-
|
|
34
|
-
""
|
|
35
|
-
ALIGN_2x3 = int(2)
|
|
36
|
-
|
|
37
|
-
""
|
|
38
|
-
ALIGN_1x1 = int(3)
|
|
39
|
-
|
|
40
|
-
""
|
|
41
|
-
ALIGN_7x9 = int(4)
|
|
42
|
-
|
|
43
|
-
allowable_values = [ALIGN_3x4, ALIGN_4x5, ALIGN_2x3, ALIGN_1x1, ALIGN_7x9] # noqa: E501
|
|
44
|
-
|
|
45
|
-
"""
|
|
46
|
-
Attributes:
|
|
47
|
-
openapi_types (dict): The key is attribute name
|
|
48
|
-
and the value is attribute type.
|
|
49
|
-
attribute_map (dict): The key is attribute name
|
|
50
|
-
and the value is json key in definition.
|
|
51
|
-
"""
|
|
52
|
-
openapi_types = {
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
attribute_map = {
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
def __init__(self, local_vars_configuration=None): # noqa: E501
|
|
59
|
-
"""FaceAlignTypeQuality - a model defined in OpenAPI""" # noqa: E501
|
|
60
|
-
if local_vars_configuration is None:
|
|
61
|
-
local_vars_configuration = Configuration()
|
|
62
|
-
self.local_vars_configuration = local_vars_configuration
|
|
63
|
-
self.discriminator = None
|
|
64
|
-
|
|
65
|
-
def to_dict(self):
|
|
66
|
-
"""Returns the model properties as a dict"""
|
|
67
|
-
result = {}
|
|
68
|
-
|
|
69
|
-
for attr, _ in six.iteritems(self.openapi_types):
|
|
70
|
-
value = getattr(self, attr)
|
|
71
|
-
if isinstance(value, list):
|
|
72
|
-
result[attr] = list(map(
|
|
73
|
-
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
74
|
-
value
|
|
75
|
-
))
|
|
76
|
-
elif hasattr(value, "to_dict"):
|
|
77
|
-
result[attr] = value.to_dict()
|
|
78
|
-
elif isinstance(value, dict):
|
|
79
|
-
result[attr] = dict(map(
|
|
80
|
-
lambda item: (item[0], item[1].to_dict())
|
|
81
|
-
if hasattr(item[1], "to_dict") else item,
|
|
82
|
-
value.items()
|
|
83
|
-
))
|
|
84
|
-
else:
|
|
85
|
-
result[attr] = value
|
|
86
|
-
|
|
87
|
-
return result
|
|
88
|
-
|
|
89
|
-
def to_str(self):
|
|
90
|
-
"""Returns the string representation of the model"""
|
|
91
|
-
return pprint.pformat(self.to_dict())
|
|
92
|
-
|
|
93
|
-
def __repr__(self):
|
|
94
|
-
"""For `print` and `pprint`"""
|
|
95
|
-
return self.to_str()
|
|
96
|
-
|
|
97
|
-
def __eq__(self, other):
|
|
98
|
-
"""Returns true if both objects are equal"""
|
|
99
|
-
if not isinstance(other, FaceAlignTypeQuality):
|
|
100
|
-
return False
|
|
101
|
-
|
|
102
|
-
return self.to_dict() == other.to_dict()
|
|
103
|
-
|
|
104
|
-
def __ne__(self, other):
|
|
105
|
-
"""Returns true if both objects are not equal"""
|
|
106
|
-
if not isinstance(other, FaceAlignTypeQuality):
|
|
107
|
-
return True
|
|
108
|
-
|
|
109
|
-
return self.to_dict() != other.to_dict()
|