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,133 @@
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 FaceAttribute(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
+ AGE = "Age"
30
+
31
+ ""
32
+ EMOTION = "Emotion"
33
+
34
+ ""
35
+ EYE_LEFT = "EyeLeft"
36
+
37
+ ""
38
+ EYE_RIGHT = "EyeRight"
39
+
40
+ ""
41
+ SMILE = "Smile"
42
+
43
+ ""
44
+ GLASSES = "Glasses"
45
+
46
+ ""
47
+ HEAD_COVERING = "HeadCovering"
48
+
49
+ ""
50
+ FOREHEAD_COVERING = "ForeheadCovering"
51
+
52
+ ""
53
+ MOUTH = "Mouth"
54
+
55
+ ""
56
+ MEDICAL_MASK = "MedicalMask"
57
+
58
+ ""
59
+ OCCLUSION = "Occlusion"
60
+
61
+ ""
62
+ STRONG_MAKEUP = "StrongMakeup"
63
+
64
+ ""
65
+ HEADPHONES = "Headphones"
66
+
67
+ allowable_values = [AGE, EMOTION, EYE_LEFT, EYE_RIGHT, SMILE, GLASSES, HEAD_COVERING, FOREHEAD_COVERING, MOUTH, MEDICAL_MASK, OCCLUSION, STRONG_MAKEUP, HEADPHONES] # noqa: E501
68
+
69
+ """
70
+ Attributes:
71
+ openapi_types (dict): The key is attribute name
72
+ and the value is attribute type.
73
+ attribute_map (dict): The key is attribute name
74
+ and the value is json key in definition.
75
+ """
76
+ openapi_types = {
77
+ }
78
+
79
+ attribute_map = {
80
+ }
81
+
82
+ def __init__(self, local_vars_configuration=None): # noqa: E501
83
+ """FaceAttribute - a model defined in OpenAPI""" # noqa: E501
84
+ if local_vars_configuration is None:
85
+ local_vars_configuration = Configuration()
86
+ self.local_vars_configuration = local_vars_configuration
87
+ self.discriminator = None
88
+
89
+ def to_dict(self):
90
+ """Returns the model properties as a dict"""
91
+ result = {}
92
+
93
+ for attr, _ in six.iteritems(self.openapi_types):
94
+ value = getattr(self, attr)
95
+ if isinstance(value, list):
96
+ result[attr] = list(map(
97
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
98
+ value
99
+ ))
100
+ elif hasattr(value, "to_dict"):
101
+ result[attr] = value.to_dict()
102
+ elif isinstance(value, dict):
103
+ result[attr] = dict(map(
104
+ lambda item: (item[0], item[1].to_dict())
105
+ if hasattr(item[1], "to_dict") else item,
106
+ value.items()
107
+ ))
108
+ else:
109
+ result[attr] = value
110
+
111
+ return result
112
+
113
+ def to_str(self):
114
+ """Returns the string representation of the model"""
115
+ return pprint.pformat(self.to_dict())
116
+
117
+ def __repr__(self):
118
+ """For `print` and `pprint`"""
119
+ return self.to_str()
120
+
121
+ def __eq__(self, other):
122
+ """Returns true if both objects are equal"""
123
+ if not isinstance(other, FaceAttribute):
124
+ return False
125
+
126
+ return self.to_dict() == other.to_dict()
127
+
128
+ def __ne__(self, other):
129
+ """Returns true if both objects are not equal"""
130
+ if not isinstance(other, FaceAttribute):
131
+ return True
132
+
133
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,109 @@
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 FaceImageQualityAlignType(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
+ """FaceImageQualityAlignType - 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, FaceImageQualityAlignType):
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, FaceImageQualityAlignType):
107
+ return True
108
+
109
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,118 @@
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 FaceImageQualityGroups(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
+ IMAGE_CHARACTERISTICS = int(1)
30
+
31
+ ""
32
+ HEAD_SIZE_AND_POSITIONS = int(2)
33
+
34
+ ""
35
+ FACE_QUALITY = int(3)
36
+
37
+ ""
38
+ EYES_CHARACTERISTICS = int(4)
39
+
40
+ ""
41
+ SHADOWS_AND_LIGHTNING = int(5)
42
+
43
+ ""
44
+ POSE_AND_EXPRESSION = int(6)
45
+
46
+ ""
47
+ HEAD_OCCLUSION = int(7)
48
+
49
+ ""
50
+ BACKGROUND = int(8)
51
+
52
+ allowable_values = [IMAGE_CHARACTERISTICS, HEAD_SIZE_AND_POSITIONS, FACE_QUALITY, EYES_CHARACTERISTICS, SHADOWS_AND_LIGHTNING, POSE_AND_EXPRESSION, HEAD_OCCLUSION, BACKGROUND] # noqa: E501
53
+
54
+ """
55
+ Attributes:
56
+ openapi_types (dict): The key is attribute name
57
+ and the value is attribute type.
58
+ attribute_map (dict): The key is attribute name
59
+ and the value is json key in definition.
60
+ """
61
+ openapi_types = {
62
+ }
63
+
64
+ attribute_map = {
65
+ }
66
+
67
+ def __init__(self, local_vars_configuration=None): # noqa: E501
68
+ """FaceImageQualityGroups - a model defined in OpenAPI""" # noqa: E501
69
+ if local_vars_configuration is None:
70
+ local_vars_configuration = Configuration()
71
+ self.local_vars_configuration = local_vars_configuration
72
+ self.discriminator = None
73
+
74
+ def to_dict(self):
75
+ """Returns the model properties as a dict"""
76
+ result = {}
77
+
78
+ for attr, _ in six.iteritems(self.openapi_types):
79
+ value = getattr(self, attr)
80
+ if isinstance(value, list):
81
+ result[attr] = list(map(
82
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
83
+ value
84
+ ))
85
+ elif hasattr(value, "to_dict"):
86
+ result[attr] = value.to_dict()
87
+ elif isinstance(value, dict):
88
+ result[attr] = dict(map(
89
+ lambda item: (item[0], item[1].to_dict())
90
+ if hasattr(item[1], "to_dict") else item,
91
+ value.items()
92
+ ))
93
+ else:
94
+ result[attr] = value
95
+
96
+ return result
97
+
98
+ def to_str(self):
99
+ """Returns the string representation of the model"""
100
+ return pprint.pformat(self.to_dict())
101
+
102
+ def __repr__(self):
103
+ """For `print` and `pprint`"""
104
+ return self.to_str()
105
+
106
+ def __eq__(self, other):
107
+ """Returns true if both objects are equal"""
108
+ if not isinstance(other, FaceImageQualityGroups):
109
+ return False
110
+
111
+ return self.to_dict() == other.to_dict()
112
+
113
+ def __ne__(self, other):
114
+ """Returns true if both objects are not equal"""
115
+ if not isinstance(other, FaceImageQualityGroups):
116
+ return True
117
+
118
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,118 @@
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 FaceImageQualityGroupsStrings(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
+ IMAGE_CHARACTERISTICS = "ImageCharacteristics"
30
+
31
+ ""
32
+ HEAD_SIZE_AND_POSITIONS = "HeadSizeAndPosition"
33
+
34
+ ""
35
+ FACE_QUALITY = "FaceQuality"
36
+
37
+ ""
38
+ EYES_CHARACTERISTICS = "EyesCharacteristics"
39
+
40
+ ""
41
+ SHADOWS_AND_LIGHTNING = "ShadowsAndLightning"
42
+
43
+ ""
44
+ POSE_AND_EXPRESSION = "PoseAndExpression"
45
+
46
+ ""
47
+ HEAD_OCCLUSION = "HeadOcclusion"
48
+
49
+ ""
50
+ BACKGROUND = "Background"
51
+
52
+ allowable_values = [IMAGE_CHARACTERISTICS, HEAD_SIZE_AND_POSITIONS, FACE_QUALITY, EYES_CHARACTERISTICS, SHADOWS_AND_LIGHTNING, POSE_AND_EXPRESSION, HEAD_OCCLUSION, BACKGROUND] # noqa: E501
53
+
54
+ """
55
+ Attributes:
56
+ openapi_types (dict): The key is attribute name
57
+ and the value is attribute type.
58
+ attribute_map (dict): The key is attribute name
59
+ and the value is json key in definition.
60
+ """
61
+ openapi_types = {
62
+ }
63
+
64
+ attribute_map = {
65
+ }
66
+
67
+ def __init__(self, local_vars_configuration=None): # noqa: E501
68
+ """FaceImageQualityGroupsStrings - a model defined in OpenAPI""" # noqa: E501
69
+ if local_vars_configuration is None:
70
+ local_vars_configuration = Configuration()
71
+ self.local_vars_configuration = local_vars_configuration
72
+ self.discriminator = None
73
+
74
+ def to_dict(self):
75
+ """Returns the model properties as a dict"""
76
+ result = {}
77
+
78
+ for attr, _ in six.iteritems(self.openapi_types):
79
+ value = getattr(self, attr)
80
+ if isinstance(value, list):
81
+ result[attr] = list(map(
82
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
83
+ value
84
+ ))
85
+ elif hasattr(value, "to_dict"):
86
+ result[attr] = value.to_dict()
87
+ elif isinstance(value, dict):
88
+ result[attr] = dict(map(
89
+ lambda item: (item[0], item[1].to_dict())
90
+ if hasattr(item[1], "to_dict") else item,
91
+ value.items()
92
+ ))
93
+ else:
94
+ result[attr] = value
95
+
96
+ return result
97
+
98
+ def to_str(self):
99
+ """Returns the string representation of the model"""
100
+ return pprint.pformat(self.to_dict())
101
+
102
+ def __repr__(self):
103
+ """For `print` and `pprint`"""
104
+ return self.to_str()
105
+
106
+ def __eq__(self, other):
107
+ """Returns true if both objects are equal"""
108
+ if not isinstance(other, FaceImageQualityGroupsStrings):
109
+ return False
110
+
111
+ return self.to_dict() == other.to_dict()
112
+
113
+ def __ne__(self, other):
114
+ """Returns true if both objects are not equal"""
115
+ if not isinstance(other, FaceImageQualityGroupsStrings):
116
+ return True
117
+
118
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,103 @@
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 FaceImageQualityStatus(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
+ QUALITY_STATUS_FALSE = int(0)
30
+
31
+ ""
32
+ QUALITY_STATUS_TRUE = int(1)
33
+
34
+ ""
35
+ QUALITY_STATUS_UNDETERMINED = int(2)
36
+
37
+ allowable_values = [QUALITY_STATUS_FALSE, QUALITY_STATUS_TRUE, QUALITY_STATUS_UNDETERMINED] # noqa: E501
38
+
39
+ """
40
+ Attributes:
41
+ openapi_types (dict): The key is attribute name
42
+ and the value is attribute type.
43
+ attribute_map (dict): The key is attribute name
44
+ and the value is json key in definition.
45
+ """
46
+ openapi_types = {
47
+ }
48
+
49
+ attribute_map = {
50
+ }
51
+
52
+ def __init__(self, local_vars_configuration=None): # noqa: E501
53
+ """FaceImageQualityStatus - a model defined in OpenAPI""" # noqa: E501
54
+ if local_vars_configuration is None:
55
+ local_vars_configuration = Configuration()
56
+ self.local_vars_configuration = local_vars_configuration
57
+ self.discriminator = None
58
+
59
+ def to_dict(self):
60
+ """Returns the model properties as a dict"""
61
+ result = {}
62
+
63
+ for attr, _ in six.iteritems(self.openapi_types):
64
+ value = getattr(self, attr)
65
+ if isinstance(value, list):
66
+ result[attr] = list(map(
67
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
68
+ value
69
+ ))
70
+ elif hasattr(value, "to_dict"):
71
+ result[attr] = value.to_dict()
72
+ elif isinstance(value, dict):
73
+ result[attr] = dict(map(
74
+ lambda item: (item[0], item[1].to_dict())
75
+ if hasattr(item[1], "to_dict") else item,
76
+ value.items()
77
+ ))
78
+ else:
79
+ result[attr] = value
80
+
81
+ return result
82
+
83
+ def to_str(self):
84
+ """Returns the string representation of the model"""
85
+ return pprint.pformat(self.to_dict())
86
+
87
+ def __repr__(self):
88
+ """For `print` and `pprint`"""
89
+ return self.to_str()
90
+
91
+ def __eq__(self, other):
92
+ """Returns true if both objects are equal"""
93
+ if not isinstance(other, FaceImageQualityStatus):
94
+ return False
95
+
96
+ return self.to_dict() == other.to_dict()
97
+
98
+ def __ne__(self, other):
99
+ """Returns true if both objects are not equal"""
100
+ if not isinstance(other, FaceImageQualityStatus):
101
+ return True
102
+
103
+ return self.to_dict() != other.to_dict()