Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ regula/facesdk/webclient/gen/model/add_image_to_person_response.py
regula/facesdk/webclient/gen/model/attribute_config.py
regula/facesdk/webclient/gen/model/attribute_config_list.py
regula/facesdk/webclient/gen/model/crop.py
regula/facesdk/webclient/gen/model/detect_attributes_details.py
regula/facesdk/webclient/gen/model/detect_details_meta.py
regula/facesdk/webclient/gen/model/detect_request.py
regula/facesdk/webclient/gen/model/detect_response.py
regula/facesdk/webclient/gen/model/detect_response_all_of.py
Expand Down Expand Up @@ -55,8 +57,7 @@ regula/facesdk/webclient/gen/model/image_page_all_of.py
regula/facesdk/webclient/gen/model/image_source.py
regula/facesdk/webclient/gen/model/liveness_type.py
regula/facesdk/webclient/gen/model/match_and_search_request.py
regula/facesdk/webclient/gen/model/match_and_search_request_all_of.py
regula/facesdk/webclient/gen/model/match_and_search_request_all_of_images.py
regula/facesdk/webclient/gen/model/match_and_search_request_images.py
regula/facesdk/webclient/gen/model/match_and_search_response.py
regula/facesdk/webclient/gen/model/match_and_search_response_all_of.py
regula/facesdk/webclient/gen/model/match_and_search_response_all_of_detections.py
Expand Down Expand Up @@ -95,6 +96,7 @@ regula/facesdk/webclient/gen/model/search_parameters_create_person.py
regula/facesdk/webclient/gen/model/search_person.py
regula/facesdk/webclient/gen/model/search_person_all_of.py
regula/facesdk/webclient/gen/model/search_request.py
regula/facesdk/webclient/gen/model/search_request_all_of.py
regula/facesdk/webclient/gen/model/search_result.py
regula/facesdk/webclient/gen/model/transaction_info.py
regula/facesdk/webclient/gen/model/update_group.py
Expand Down
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ wheel = "*"
twine = "*"
chardet = "*"
packaging = ">=22.0"
typing-extensions = "*"

[requires]
python_version = "3.9"
77 changes: 39 additions & 38 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
MatchImage(index=2, data=face_1_bytes, type=ImageSource.DOCUMENT_RFID),
MatchImage(index=3, data=face_2_bytes),
]
match_request = MatchRequest(images=images, thumbnails=True)
match_request = MatchRequest(images=images)
match_response = sdk.match_api.match(match_request)

print("-----------------------------------------------------------------")
Expand Down
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/ext/api/sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


class FaceSdk:
def __init__(self, host=None, debug=None, verify_ssl=False, api_client=None):
def __init__(self, host=None, debug=None, verify_ssl=True, api_client=None):
if api_client:
self.__api_client = api_client
else:
Expand Down
3 changes: 0 additions & 3 deletions regula/facesdk/webclient/ext/models/detect_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ def __init__(
self,
image: Union[Base64String, bytes],
process_param: ProcessParam = None,
only_central_face=False,
thumbnails=False,
local_vars_configuration=None,
tag=None,

Expand All @@ -25,7 +23,6 @@ def __init__(

super().__init__(
image=image,
thumbnails=thumbnails,
local_vars_configuration=local_vars_configuration,
tag=tag,
process_param=process_param
Expand Down
2 changes: 0 additions & 2 deletions regula/facesdk/webclient/ext/models/match_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ class MatchRequest(GenMatchRequest):
def __init__(
self,
images: List[Union[MatchImage, Base64String, bytes]],
thumbnails=False,
local_vars_configuration=None,
output_image_params=None,
tag=None
Expand All @@ -29,6 +28,5 @@ def __init__(
images=input_images,
local_vars_configuration=local_vars_configuration,
output_image_params=output_image_params,
thumbnails=thumbnails,
tag=tag
)
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<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

The version of the OpenAPI document: 6.2.0
The version of the OpenAPI document: 7.2.0
Generated by: https://openapi-generator.tech
"""

Expand Down
2 changes: 1 addition & 1 deletion regula/facesdk/webclient/gen/api/group_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<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

The version of the OpenAPI document: 6.2.0
The version of the OpenAPI document: 7.2.0
Generated by: https://openapi-generator.tech
"""

Expand Down
6 changes: 5 additions & 1 deletion regula/facesdk/webclient/gen/api/healthcheck_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<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

The version of the OpenAPI document: 6.2.0
The version of the OpenAPI document: 7.2.0
Generated by: https://openapi-generator.tech
"""

Expand Down Expand Up @@ -39,6 +39,7 @@ def __init__(self, api_client=None):
def healthz(self, **kwargs): # noqa: E501
"""Server healthcheck # noqa: E501

The `/api/healthz` endpoint performs a server health check, providing details such as the application name, license ID, serial number, validity, and product version. <br><br>Comprehensive information about service diagnostics is available on the [Monitoring page](https://docs.regulaforensics.com/develop/face-sdk/web-service/administration/monitoring/). # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

Expand Down Expand Up @@ -68,6 +69,7 @@ def healthz(self, **kwargs): # noqa: E501
def healthz_with_http_info(self, **kwargs): # noqa: E501
"""Server healthcheck # noqa: E501

The `/api/healthz` endpoint performs a server health check, providing details such as the application name, license ID, serial number, validity, and product version. <br><br>Comprehensive information about service diagnostics is available on the [Monitoring page](https://docs.regulaforensics.com/develop/face-sdk/web-service/administration/monitoring/). # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

Expand Down Expand Up @@ -164,6 +166,7 @@ def healthz_with_http_info(self, **kwargs): # noqa: E501
def readyz(self, **kwargs): # noqa: E501
"""License healthcheck # noqa: E501

The `/api/readyz` endpoint checks the license's health to determine if the application is ready for operation. It validates the license and returns a response indicating whether the license is valid (`200`) or invalid (`400`). # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

Expand Down Expand Up @@ -193,6 +196,7 @@ def readyz(self, **kwargs): # noqa: E501
def readyz_with_http_info(self, **kwargs): # noqa: E501
"""License healthcheck # noqa: E501

The `/api/readyz` endpoint checks the license's health to determine if the application is ready for operation. It validates the license and returns a response indicating whether the license is valid (`200`) or invalid (`400`). # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True

Expand Down
Loading