regula.facesdk.webclient 5.2.4__tar.gz → 6.3.7.dev0__tar.gz
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-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/PKG-INFO +1 -1
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/ext/api/group_api.py +4 -4
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/ext/api/person_api.py +7 -5
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/ext/api/search_api.py +3 -1
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/ext/models/detect_request.py +14 -5
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/ext/models/match_request.py +1 -1
- regula_facesdk_webclient-6.3.7.dev0/regula/facesdk/webclient/gen/__init__.py +27 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/api/diagnostics_api.py +4 -4
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/api/group_api.py +44 -60
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/api/liveness_2_0_api.py +8 -6
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/api/matching_api.py +21 -15
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/api/person_api.py +88 -104
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/api/search_api.py +5 -5
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/api_client.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/configuration.py +4 -4
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/exceptions.py +3 -3
- regula_facesdk_webclient-6.3.7.dev0/regula/facesdk/webclient/gen/model/add_image_to_person_request.py +205 -0
- regula_facesdk_webclient-6.3.7.dev0/regula/facesdk/webclient/gen/model/add_image_to_person_request_image.py +204 -0
- regula_facesdk_webclient-6.3.7.dev0/regula/facesdk/webclient/gen/model/add_image_to_person_response.py +262 -0
- regula_facesdk_webclient-6.3.7.dev0/regula/facesdk/webclient/gen/model/attribute_config.py +120 -0
- regula_facesdk_webclient-6.3.7.dev0/regula/facesdk/webclient/gen/model/attribute_config_list.py +92 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/crop.py +5 -5
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/detect_request.py +10 -36
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/detect_response.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/detect_response_all_of.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/detect_result.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/detection.py +10 -10
- regula_facesdk_webclient-6.3.7.dev0/regula/facesdk/webclient/gen/model/detection_attributes.py +148 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/detection_face.py +34 -6
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/detection_quality.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/face_attribute.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/face_image_quality_align_type.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/face_image_quality_groups.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/face_image_quality_groups_strings.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/face_image_quality_status.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/face_quality_config_name.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/face_quality_scenarios.py +7 -4
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/face_rectangular.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/face_sdk_result.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/face_sdk_result_code.py +10 -4
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/faces_response.py +36 -6
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/faces_response_all_of.py +5 -3
- regula_facesdk_webclient-6.3.7.dev0/regula/facesdk/webclient/gen/model/filter_op.py +100 -0
- regula_facesdk_webclient-6.3.7.dev0/regula/facesdk/webclient/gen/model/filter_search_request.py +176 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/group.py +4 -32
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/group_all_of.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/group_page.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/group_page_all_of.py +3 -3
- regula_facesdk_webclient-6.3.7.dev0/regula/facesdk/webclient/gen/model/group_response.py +150 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/group_to_create.py +9 -7
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/image.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/image_fields.py +11 -11
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/image_fields_image.py +2 -2
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/image_page.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/image_page_all_of.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/image_source.py +7 -4
- regula_facesdk_webclient-6.3.7.dev0/regula/facesdk/webclient/gen/model/liveness_type.py +100 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/match_and_search_request.py +11 -37
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/match_and_search_request_all_of.py +36 -8
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/match_and_search_request_all_of_images.py +5 -5
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/match_and_search_response.py +9 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/match_and_search_response_all_of.py +9 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/match_and_search_response_all_of_detections.py +7 -5
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/match_image.py +9 -9
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/match_image_detection.py +7 -7
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/match_image_result.py +7 -7
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/match_request.py +40 -15
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/match_request_output_image_params.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/match_request_output_image_params_crop.py +7 -7
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/match_response.py +36 -8
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/match_response_all_of.py +36 -8
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/operation_log.py +32 -4
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/output_image_params.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/page.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/person.py +63 -35
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/person_all_of.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/person_created_response.py +2 -2
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/person_fields.py +63 -35
- regula_facesdk_webclient-6.3.7.dev0/regula/facesdk/webclient/gen/model/person_to_update_fields.py +206 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/person_with_images.py +65 -35
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/person_with_images_all_of.py +5 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/persons_page.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/persons_page_all_of.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/process_param.py +9 -11
- regula_facesdk_webclient-6.3.7.dev0/regula/facesdk/webclient/gen/model/process_param_attributes.py +120 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/quality_config.py +8 -8
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/quality_config_list.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/quality_detail.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/quality_details_groups.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/quality_request.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/recognize_image.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/recognize_image_all_of.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/resize_options.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/rgb.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/search_bad_params.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/search_detection.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/search_parameters.py +33 -7
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/search_parameters_create_person.py +31 -4
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/search_person.py +63 -35
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/search_person_all_of.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/search_request.py +40 -14
- regula_facesdk_webclient-6.3.7.dev0/regula/facesdk/webclient/gen/model/search_result.py +313 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/transaction_info.py +56 -58
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/update_group.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model_utils.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/models/__init__.py +12 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/rest.py +3 -3
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula.facesdk.webclient.egg-info/PKG-INFO +1 -1
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula.facesdk.webclient.egg-info/SOURCES.txt +12 -0
- regula.facesdk.webclient-5.2.4/regula/facesdk/webclient/gen/__init__.py +0 -27
- regula.facesdk.webclient-5.2.4/regula/facesdk/webclient/gen/model/search_result.py +0 -150
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/README.md +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/__init__.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/__init__.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/__init__.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/ext/__init__.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/ext/api/__init__.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/ext/api/matching_api.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/ext/api/sdk.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/ext/common.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/ext/models/__init__.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/ext/models/match_image.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/api/__init__.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/api/liveness_api.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/apis/__init__.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/__init__.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/detect_request_attributes.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/face_align_type_quality.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/face_quality_status.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/liveness_transaction.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/search_request_all_of.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/search_result_all_of.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula/facesdk/webclient/gen/model/transaction_config.py +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula.facesdk.webclient.egg-info/dependency_links.txt +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula.facesdk.webclient.egg-info/requires.txt +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/regula.facesdk.webclient.egg-info/top_level.txt +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/setup.cfg +0 -0
- {regula.facesdk.webclient-5.2.4 → regula_facesdk_webclient-6.3.7.dev0}/setup.py +0 -0
|
@@ -20,11 +20,11 @@ class GroupApi(GenGroupApi):
|
|
|
20
20
|
def delete_group(self, group_id: str, **kwargs) -> None:
|
|
21
21
|
return super().delete_group(group_id, **kwargs)
|
|
22
22
|
|
|
23
|
-
def get_all_groups(self,
|
|
24
|
-
return super().get_all_groups(
|
|
23
|
+
def get_all_groups(self, **kwargs) -> GroupPage:
|
|
24
|
+
return super().get_all_groups(**kwargs)
|
|
25
25
|
|
|
26
|
-
def get_all_persons_by_group_id(self,
|
|
27
|
-
return super().get_all_persons_by_group_id(
|
|
26
|
+
def get_all_persons_by_group_id(self, group_id: str, **kwargs) -> PersonsPage:
|
|
27
|
+
return super().get_all_persons_by_group_id(group_id, **kwargs)
|
|
28
28
|
|
|
29
29
|
def get_group(self, group_id: str, **kwargs) -> Group:
|
|
30
30
|
return super().get_group(group_id, **kwargs)
|
|
@@ -16,10 +16,12 @@ class PersonApi(GenPersonApi):
|
|
|
16
16
|
|
|
17
17
|
def add_image_to_person(self, person_id: str, content: bytes, content_type: str = None, **kwargs) -> Image:
|
|
18
18
|
base_image = base64.b64encode(content).decode("UTF-8")
|
|
19
|
-
image = ImageFields(ImageFieldsImage(content_type, base_image))
|
|
19
|
+
image = ImageFields(image=ImageFieldsImage(content_type, base_image))
|
|
20
20
|
return super().add_image_to_person(person_id, image, **kwargs)
|
|
21
21
|
|
|
22
22
|
def create_person(self, person_fields: PersonFields, **kwargs) -> Person:
|
|
23
|
+
if person_fields.metadata is None:
|
|
24
|
+
person_fields.metadata = {}
|
|
23
25
|
return super().create_person(person_fields, **kwargs)
|
|
24
26
|
|
|
25
27
|
def delete_image_of_person(self, image_id: str, person_id: str, **kwargs) -> None:
|
|
@@ -28,11 +30,11 @@ class PersonApi(GenPersonApi):
|
|
|
28
30
|
def delete_person(self, person_id: str, **kwargs) -> None:
|
|
29
31
|
return super().delete_person(person_id, **kwargs)
|
|
30
32
|
|
|
31
|
-
def get_all_groups_by_person_id(self,
|
|
32
|
-
return super().get_all_groups_by_person_id(
|
|
33
|
+
def get_all_groups_by_person_id(self, person_id: str, **kwargs):
|
|
34
|
+
return super().get_all_groups_by_person_id(person_id)
|
|
33
35
|
|
|
34
|
-
def get_all_images_by_person_id(self,
|
|
35
|
-
return super().get_all_images_by_person_id(
|
|
36
|
+
def get_all_images_by_person_id(self, person_id: str, **kwargs) -> ImagePage:
|
|
37
|
+
return super().get_all_images_by_person_id(person_id, **kwargs)
|
|
36
38
|
|
|
37
39
|
def get_image_of_person(self, image_id: str, person_id: str, **kwargs):
|
|
38
40
|
return super().get_image_of_person(image_id, person_id, **kwargs)
|
|
@@ -11,5 +11,7 @@ class SearchApi(GenSearchApi):
|
|
|
11
11
|
super().__init__(api_client)
|
|
12
12
|
|
|
13
13
|
def search(self, search_request: SearchRequest, **kwargs) -> SearchResult:
|
|
14
|
-
|
|
14
|
+
image = search_request.image
|
|
15
|
+
if image is not None:
|
|
16
|
+
search_request.image.content = base64.b64encode(image.content).decode("utf-8") if image.content else None
|
|
15
17
|
return super().search(search_request, **kwargs)
|
|
@@ -2,14 +2,20 @@ from typing import Union
|
|
|
2
2
|
|
|
3
3
|
from regula.facesdk.webclient.ext.common import Base64String, bytes_to_base64
|
|
4
4
|
from regula.facesdk.webclient.gen import ApiValueError
|
|
5
|
+
from regula.facesdk.webclient.gen.model.process_param import ProcessParam
|
|
5
6
|
from regula.facesdk.webclient.gen.models import DetectRequest as GetDetectRequest
|
|
6
7
|
|
|
7
8
|
|
|
8
9
|
class DetectRequest(GetDetectRequest):
|
|
9
10
|
def __init__(
|
|
10
|
-
self,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
self,
|
|
12
|
+
image: Union[Base64String, bytes],
|
|
13
|
+
process_param: ProcessParam = None,
|
|
14
|
+
only_central_face=False,
|
|
15
|
+
thumbnails=False,
|
|
16
|
+
local_vars_configuration=None,
|
|
17
|
+
tag=None,
|
|
18
|
+
|
|
13
19
|
):
|
|
14
20
|
if not image:
|
|
15
21
|
raise ApiValueError(f"image: expected <not empty> - obtained <{image}>", "image")
|
|
@@ -18,6 +24,9 @@ class DetectRequest(GetDetectRequest):
|
|
|
18
24
|
image = bytes_to_base64(image)
|
|
19
25
|
|
|
20
26
|
super().__init__(
|
|
21
|
-
image=image,
|
|
22
|
-
|
|
27
|
+
image=image,
|
|
28
|
+
thumbnails=thumbnails,
|
|
29
|
+
local_vars_configuration=local_vars_configuration,
|
|
30
|
+
tag=tag,
|
|
31
|
+
process_param=process_param
|
|
23
32
|
)
|
|
@@ -28,7 +28,7 @@ class MatchRequest(GenMatchRequest):
|
|
|
28
28
|
super().__init__(
|
|
29
29
|
images=input_images,
|
|
30
30
|
local_vars_configuration=local_vars_configuration,
|
|
31
|
-
|
|
31
|
+
output_image_params=output_image_params,
|
|
32
32
|
thumbnails=thumbnails,
|
|
33
33
|
tag=tag
|
|
34
34
|
)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# flake8: noqa
|
|
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
|
+
__version__ = "1.0.0"
|
|
14
|
+
|
|
15
|
+
# import ApiClient
|
|
16
|
+
from regula.facesdk.webclient.gen.api_client import ApiClient
|
|
17
|
+
|
|
18
|
+
# import Configuration
|
|
19
|
+
from regula.facesdk.webclient.gen.configuration import Configuration
|
|
20
|
+
|
|
21
|
+
# import exceptions
|
|
22
|
+
from regula.facesdk.webclient.gen.exceptions import OpenApiException
|
|
23
|
+
from regula.facesdk.webclient.gen.exceptions import ApiAttributeError
|
|
24
|
+
from regula.facesdk.webclient.gen.exceptions import ApiTypeError
|
|
25
|
+
from regula.facesdk.webclient.gen.exceptions import ApiValueError
|
|
26
|
+
from regula.facesdk.webclient.gen.exceptions import ApiKeyError
|
|
27
|
+
from regula.facesdk.webclient.gen.exceptions import ApiException
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
Regula
|
|
4
|
+
Regula Face SDK Web API
|
|
5
5
|
|
|
6
|
-
Regula FaceSDK
|
|
6
|
+
<a href=\"https://regulaforensics.com/products/face-recognition-sdk/ \" target=\"_blank\">Regula Face SDK</a> is a cross-platform biometric verification solution for a digital identity verification process and image quality assurance. The SDK enables convenient and reliable face capture on the client side (mobile, web, and desktop) and further processing on the client or server side. The Face SDK includes the following features: * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-detection\" target=\"_blank\">Face detection and image quality assessment</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-comparison-11\" target=\"_blank\">Face match (1:1)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-identification-1n\" target=\"_blank\">Face search (1:N)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#liveness-assessment\" target=\"_blank\">Liveness detection</a> Here is the <a href=\"https://github.com/regulaforensics/FaceSDK-web-openapi \" target=\"_blank\">OpenAPI specification on GitHub</a>. ### Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 6.2.0
|
|
9
9
|
Generated by: https://openapi-generator.tech
|
|
10
10
|
"""
|
|
11
11
|
|
|
@@ -102,7 +102,7 @@ class DiagnosticsApi(object):
|
|
|
102
102
|
local_var_params = locals()
|
|
103
103
|
|
|
104
104
|
all_params = [
|
|
105
|
-
'x_request_id'
|
|
105
|
+
'x_request_id',
|
|
106
106
|
]
|
|
107
107
|
all_params.extend(
|
|
108
108
|
[
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
Regula
|
|
4
|
+
Regula Face SDK Web API
|
|
5
5
|
|
|
6
|
-
Regula FaceSDK
|
|
6
|
+
<a href=\"https://regulaforensics.com/products/face-recognition-sdk/ \" target=\"_blank\">Regula Face SDK</a> is a cross-platform biometric verification solution for a digital identity verification process and image quality assurance. The SDK enables convenient and reliable face capture on the client side (mobile, web, and desktop) and further processing on the client or server side. The Face SDK includes the following features: * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-detection\" target=\"_blank\">Face detection and image quality assessment</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-comparison-11\" target=\"_blank\">Face match (1:1)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-identification-1n\" target=\"_blank\">Face search (1:N)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#liveness-assessment\" target=\"_blank\">Liveness detection</a> Here is the <a href=\"https://github.com/regulaforensics/FaceSDK-web-openapi \" target=\"_blank\">OpenAPI specification on GitHub</a>. ### Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 6.2.0
|
|
9
9
|
Generated by: https://openapi-generator.tech
|
|
10
10
|
"""
|
|
11
11
|
|
|
@@ -106,8 +106,8 @@ class GroupApi(object):
|
|
|
106
106
|
local_var_params = locals()
|
|
107
107
|
|
|
108
108
|
all_params = [
|
|
109
|
-
'group_to_create'
|
|
110
|
-
'x_request_id'
|
|
109
|
+
'group_to_create',
|
|
110
|
+
'x_request_id',
|
|
111
111
|
]
|
|
112
112
|
all_params.extend(
|
|
113
113
|
[
|
|
@@ -246,8 +246,8 @@ class GroupApi(object):
|
|
|
246
246
|
local_var_params = locals()
|
|
247
247
|
|
|
248
248
|
all_params = [
|
|
249
|
-
'group_id'
|
|
250
|
-
'x_request_id'
|
|
249
|
+
'group_id',
|
|
250
|
+
'x_request_id',
|
|
251
251
|
]
|
|
252
252
|
all_params.extend(
|
|
253
253
|
[
|
|
@@ -312,18 +312,18 @@ class GroupApi(object):
|
|
|
312
312
|
collection_formats=collection_formats,
|
|
313
313
|
_request_auth=local_var_params.get('_request_auth'))
|
|
314
314
|
|
|
315
|
-
def get_all_groups(self,
|
|
315
|
+
def get_all_groups(self, **kwargs): # noqa: E501
|
|
316
316
|
"""Get groups # noqa: E501
|
|
317
317
|
|
|
318
318
|
This method makes a synchronous HTTP request by default. To make an
|
|
319
319
|
asynchronous HTTP request, please pass async_req=True
|
|
320
320
|
|
|
321
|
-
>>> thread = api.get_all_groups(
|
|
321
|
+
>>> thread = api.get_all_groups(async_req=True)
|
|
322
322
|
>>> result = thread.get()
|
|
323
323
|
|
|
324
|
-
:param page: The page number to get a list of persons or groups.
|
|
324
|
+
:param page: The page number to get a list of persons or groups.
|
|
325
325
|
:type page: int
|
|
326
|
-
:param size: The page size with a list of persons or groups, items.
|
|
326
|
+
:param size: The page size with a list of persons or groups, items.
|
|
327
327
|
:type size: int
|
|
328
328
|
:param x_request_id: Request header label.
|
|
329
329
|
:type x_request_id: str
|
|
@@ -343,20 +343,20 @@ class GroupApi(object):
|
|
|
343
343
|
:rtype: GroupPage
|
|
344
344
|
"""
|
|
345
345
|
kwargs['_return_http_data_only'] = True
|
|
346
|
-
return self.get_all_groups_with_http_info(
|
|
346
|
+
return self.get_all_groups_with_http_info(**kwargs) # noqa: E501
|
|
347
347
|
|
|
348
|
-
def get_all_groups_with_http_info(self,
|
|
348
|
+
def get_all_groups_with_http_info(self, **kwargs): # noqa: E501
|
|
349
349
|
"""Get groups # noqa: E501
|
|
350
350
|
|
|
351
351
|
This method makes a synchronous HTTP request by default. To make an
|
|
352
352
|
asynchronous HTTP request, please pass async_req=True
|
|
353
353
|
|
|
354
|
-
>>> thread = api.get_all_groups_with_http_info(
|
|
354
|
+
>>> thread = api.get_all_groups_with_http_info(async_req=True)
|
|
355
355
|
>>> result = thread.get()
|
|
356
356
|
|
|
357
|
-
:param page: The page number to get a list of persons or groups.
|
|
357
|
+
:param page: The page number to get a list of persons or groups.
|
|
358
358
|
:type page: int
|
|
359
|
-
:param size: The page size with a list of persons or groups, items.
|
|
359
|
+
:param size: The page size with a list of persons or groups, items.
|
|
360
360
|
:type size: int
|
|
361
361
|
:param x_request_id: Request header label.
|
|
362
362
|
:type x_request_id: str
|
|
@@ -386,9 +386,9 @@ class GroupApi(object):
|
|
|
386
386
|
local_var_params = locals()
|
|
387
387
|
|
|
388
388
|
all_params = [
|
|
389
|
-
'page'
|
|
390
|
-
'size'
|
|
391
|
-
'x_request_id'
|
|
389
|
+
'page',
|
|
390
|
+
'size',
|
|
391
|
+
'x_request_id',
|
|
392
392
|
]
|
|
393
393
|
all_params.extend(
|
|
394
394
|
[
|
|
@@ -408,14 +408,6 @@ class GroupApi(object):
|
|
|
408
408
|
)
|
|
409
409
|
local_var_params[key] = val
|
|
410
410
|
del local_var_params['kwargs']
|
|
411
|
-
# verify the required parameter 'page' is set
|
|
412
|
-
if self.api_client.client_side_validation and ('page' not in local_var_params or # noqa: E501
|
|
413
|
-
local_var_params['page'] is None): # noqa: E501
|
|
414
|
-
raise ApiValueError("Missing the required parameter `page` when calling `get_all_groups`") # noqa: E501
|
|
415
|
-
# verify the required parameter 'size' is set
|
|
416
|
-
if self.api_client.client_side_validation and ('size' not in local_var_params or # noqa: E501
|
|
417
|
-
local_var_params['size'] is None): # noqa: E501
|
|
418
|
-
raise ApiValueError("Missing the required parameter `size` when calling `get_all_groups`") # noqa: E501
|
|
419
411
|
|
|
420
412
|
collection_formats = {}
|
|
421
413
|
|
|
@@ -459,21 +451,21 @@ class GroupApi(object):
|
|
|
459
451
|
collection_formats=collection_formats,
|
|
460
452
|
_request_auth=local_var_params.get('_request_auth'))
|
|
461
453
|
|
|
462
|
-
def get_all_persons_by_group_id(self,
|
|
454
|
+
def get_all_persons_by_group_id(self, group_id, **kwargs): # noqa: E501
|
|
463
455
|
"""Get group persons # noqa: E501
|
|
464
456
|
|
|
465
457
|
This method makes a synchronous HTTP request by default. To make an
|
|
466
458
|
asynchronous HTTP request, please pass async_req=True
|
|
467
459
|
|
|
468
|
-
>>> thread = api.get_all_persons_by_group_id(
|
|
460
|
+
>>> thread = api.get_all_persons_by_group_id(group_id, async_req=True)
|
|
469
461
|
>>> result = thread.get()
|
|
470
462
|
|
|
471
|
-
:param page: The page number to get a list of persons or groups. (required)
|
|
472
|
-
:type page: int
|
|
473
|
-
:param size: The page size with a list of persons or groups, items. (required)
|
|
474
|
-
:type size: int
|
|
475
463
|
:param group_id: Group ID. (required)
|
|
476
464
|
:type group_id: str
|
|
465
|
+
:param page: The page number to get a list of persons or groups.
|
|
466
|
+
:type page: int
|
|
467
|
+
:param size: The page size with a list of persons or groups, items.
|
|
468
|
+
:type size: int
|
|
477
469
|
:param x_request_id: Request header label.
|
|
478
470
|
:type x_request_id: str
|
|
479
471
|
:param async_req: Whether to execute the request asynchronously.
|
|
@@ -492,23 +484,23 @@ class GroupApi(object):
|
|
|
492
484
|
:rtype: PersonsPage
|
|
493
485
|
"""
|
|
494
486
|
kwargs['_return_http_data_only'] = True
|
|
495
|
-
return self.get_all_persons_by_group_id_with_http_info(
|
|
487
|
+
return self.get_all_persons_by_group_id_with_http_info(group_id, **kwargs) # noqa: E501
|
|
496
488
|
|
|
497
|
-
def get_all_persons_by_group_id_with_http_info(self,
|
|
489
|
+
def get_all_persons_by_group_id_with_http_info(self, group_id, **kwargs): # noqa: E501
|
|
498
490
|
"""Get group persons # noqa: E501
|
|
499
491
|
|
|
500
492
|
This method makes a synchronous HTTP request by default. To make an
|
|
501
493
|
asynchronous HTTP request, please pass async_req=True
|
|
502
494
|
|
|
503
|
-
>>> thread = api.get_all_persons_by_group_id_with_http_info(
|
|
495
|
+
>>> thread = api.get_all_persons_by_group_id_with_http_info(group_id, async_req=True)
|
|
504
496
|
>>> result = thread.get()
|
|
505
497
|
|
|
506
|
-
:param page: The page number to get a list of persons or groups. (required)
|
|
507
|
-
:type page: int
|
|
508
|
-
:param size: The page size with a list of persons or groups, items. (required)
|
|
509
|
-
:type size: int
|
|
510
498
|
:param group_id: Group ID. (required)
|
|
511
499
|
:type group_id: str
|
|
500
|
+
:param page: The page number to get a list of persons or groups.
|
|
501
|
+
:type page: int
|
|
502
|
+
:param size: The page size with a list of persons or groups, items.
|
|
503
|
+
:type size: int
|
|
512
504
|
:param x_request_id: Request header label.
|
|
513
505
|
:type x_request_id: str
|
|
514
506
|
:param async_req: Whether to execute the request asynchronously.
|
|
@@ -537,10 +529,10 @@ class GroupApi(object):
|
|
|
537
529
|
local_var_params = locals()
|
|
538
530
|
|
|
539
531
|
all_params = [
|
|
540
|
-
'
|
|
541
|
-
'
|
|
542
|
-
'
|
|
543
|
-
'x_request_id'
|
|
532
|
+
'group_id',
|
|
533
|
+
'page',
|
|
534
|
+
'size',
|
|
535
|
+
'x_request_id',
|
|
544
536
|
]
|
|
545
537
|
all_params.extend(
|
|
546
538
|
[
|
|
@@ -560,14 +552,6 @@ class GroupApi(object):
|
|
|
560
552
|
)
|
|
561
553
|
local_var_params[key] = val
|
|
562
554
|
del local_var_params['kwargs']
|
|
563
|
-
# verify the required parameter 'page' is set
|
|
564
|
-
if self.api_client.client_side_validation and ('page' not in local_var_params or # noqa: E501
|
|
565
|
-
local_var_params['page'] is None): # noqa: E501
|
|
566
|
-
raise ApiValueError("Missing the required parameter `page` when calling `get_all_persons_by_group_id`") # noqa: E501
|
|
567
|
-
# verify the required parameter 'size' is set
|
|
568
|
-
if self.api_client.client_side_validation and ('size' not in local_var_params or # noqa: E501
|
|
569
|
-
local_var_params['size'] is None): # noqa: E501
|
|
570
|
-
raise ApiValueError("Missing the required parameter `size` when calling `get_all_persons_by_group_id`") # noqa: E501
|
|
571
555
|
# verify the required parameter 'group_id' is set
|
|
572
556
|
if self.api_client.client_side_validation and ('group_id' not in local_var_params or # noqa: E501
|
|
573
557
|
local_var_params['group_id'] is None): # noqa: E501
|
|
@@ -687,8 +671,8 @@ class GroupApi(object):
|
|
|
687
671
|
local_var_params = locals()
|
|
688
672
|
|
|
689
673
|
all_params = [
|
|
690
|
-
'group_id'
|
|
691
|
-
'x_request_id'
|
|
674
|
+
'group_id',
|
|
675
|
+
'x_request_id',
|
|
692
676
|
]
|
|
693
677
|
all_params.extend(
|
|
694
678
|
[
|
|
@@ -827,9 +811,9 @@ class GroupApi(object):
|
|
|
827
811
|
local_var_params = locals()
|
|
828
812
|
|
|
829
813
|
all_params = [
|
|
830
|
-
'group_id'
|
|
831
|
-
'group_to_create'
|
|
832
|
-
'x_request_id'
|
|
814
|
+
'group_id',
|
|
815
|
+
'group_to_create',
|
|
816
|
+
'x_request_id',
|
|
833
817
|
]
|
|
834
818
|
all_params.extend(
|
|
835
819
|
[
|
|
@@ -978,9 +962,9 @@ class GroupApi(object):
|
|
|
978
962
|
local_var_params = locals()
|
|
979
963
|
|
|
980
964
|
all_params = [
|
|
981
|
-
'group_id'
|
|
982
|
-
'update_group'
|
|
983
|
-
'x_request_id'
|
|
965
|
+
'group_id',
|
|
966
|
+
'update_group',
|
|
967
|
+
'x_request_id',
|
|
984
968
|
]
|
|
985
969
|
all_params.extend(
|
|
986
970
|
[
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
Regula
|
|
4
|
+
Regula Face SDK Web API
|
|
5
5
|
|
|
6
|
-
Regula FaceSDK
|
|
6
|
+
<a href=\"https://regulaforensics.com/products/face-recognition-sdk/ \" target=\"_blank\">Regula Face SDK</a> is a cross-platform biometric verification solution for a digital identity verification process and image quality assurance. The SDK enables convenient and reliable face capture on the client side (mobile, web, and desktop) and further processing on the client or server side. The Face SDK includes the following features: * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-detection\" target=\"_blank\">Face detection and image quality assessment</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-comparison-11\" target=\"_blank\">Face match (1:1)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-identification-1n\" target=\"_blank\">Face search (1:N)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#liveness-assessment\" target=\"_blank\">Liveness detection</a> Here is the <a href=\"https://github.com/regulaforensics/FaceSDK-web-openapi \" target=\"_blank\">OpenAPI specification on GitHub</a>. ### Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 6.2.0
|
|
9
9
|
Generated by: https://openapi-generator.tech
|
|
10
10
|
"""
|
|
11
11
|
|
|
@@ -37,8 +37,9 @@ class Liveness20Api(object):
|
|
|
37
37
|
self.api_client = api_client
|
|
38
38
|
|
|
39
39
|
def get_liveness_transaction_info(self, transaction_id, **kwargs): # noqa: E501
|
|
40
|
-
"""
|
|
40
|
+
"""liveness check # noqa: E501
|
|
41
41
|
|
|
42
|
+
To verify the presence of a real person in front of a camera, use the GET `/api/v2/liveness` endpoint. When starting, you can specify `tag` which all attempts to read liveness will be bound to. If left unspecified, the application automatically generates one. The calling application returns `tag` and `transactionId`. One session may include many transactions, and from a transaction ID it is clear which session it belongs to. When specifying `tag`, note that only Latin uppercase and lowercase letters, digits, and symbols `-` and `_` are allowed. The maximum supported number of characters is 127. The metadata (device model, screen data, frame size, app ID and version, OS version, platform, SDK version, etc.), a person's selfie and video of the liveness detection session are stored on the backend at: `faceapi-session/year={year}/month={month}/day={day}/hour={hour}/minute={minute}/{tag}/transactionId` By default, liveness checks operate with eventual consistency. This means that when you submit a request and receive a response, the associated data (like the selfie and session video) may be saved after the response is sent. If this doesn't meet your requirements, you can switch to strong consistency; refer to the [Architecture page](https://docs.regulaforensics.com/develop/face-sdk/overview/architecture/#consistency-models) for details. To access the liveness transaction data, use GET `/api/v2/liveness?transactionId={transactionId}`. # noqa: E501
|
|
42
43
|
This method makes a synchronous HTTP request by default. To make an
|
|
43
44
|
asynchronous HTTP request, please pass async_req=True
|
|
44
45
|
|
|
@@ -66,8 +67,9 @@ class Liveness20Api(object):
|
|
|
66
67
|
return self.get_liveness_transaction_info_with_http_info(transaction_id, **kwargs) # noqa: E501
|
|
67
68
|
|
|
68
69
|
def get_liveness_transaction_info_with_http_info(self, transaction_id, **kwargs): # noqa: E501
|
|
69
|
-
"""
|
|
70
|
+
"""liveness check # noqa: E501
|
|
70
71
|
|
|
72
|
+
To verify the presence of a real person in front of a camera, use the GET `/api/v2/liveness` endpoint. When starting, you can specify `tag` which all attempts to read liveness will be bound to. If left unspecified, the application automatically generates one. The calling application returns `tag` and `transactionId`. One session may include many transactions, and from a transaction ID it is clear which session it belongs to. When specifying `tag`, note that only Latin uppercase and lowercase letters, digits, and symbols `-` and `_` are allowed. The maximum supported number of characters is 127. The metadata (device model, screen data, frame size, app ID and version, OS version, platform, SDK version, etc.), a person's selfie and video of the liveness detection session are stored on the backend at: `faceapi-session/year={year}/month={month}/day={day}/hour={hour}/minute={minute}/{tag}/transactionId` By default, liveness checks operate with eventual consistency. This means that when you submit a request and receive a response, the associated data (like the selfie and session video) may be saved after the response is sent. If this doesn't meet your requirements, you can switch to strong consistency; refer to the [Architecture page](https://docs.regulaforensics.com/develop/face-sdk/overview/architecture/#consistency-models) for details. To access the liveness transaction data, use GET `/api/v2/liveness?transactionId={transactionId}`. # noqa: E501
|
|
71
73
|
This method makes a synchronous HTTP request by default. To make an
|
|
72
74
|
asynchronous HTTP request, please pass async_req=True
|
|
73
75
|
|
|
@@ -102,7 +104,7 @@ class Liveness20Api(object):
|
|
|
102
104
|
local_var_params = locals()
|
|
103
105
|
|
|
104
106
|
all_params = [
|
|
105
|
-
'transaction_id'
|
|
107
|
+
'transaction_id',
|
|
106
108
|
]
|
|
107
109
|
all_params.extend(
|
|
108
110
|
[
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
Regula
|
|
4
|
+
Regula Face SDK Web API
|
|
5
5
|
|
|
6
|
-
Regula FaceSDK
|
|
6
|
+
<a href=\"https://regulaforensics.com/products/face-recognition-sdk/ \" target=\"_blank\">Regula Face SDK</a> is a cross-platform biometric verification solution for a digital identity verification process and image quality assurance. The SDK enables convenient and reliable face capture on the client side (mobile, web, and desktop) and further processing on the client or server side. The Face SDK includes the following features: * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-detection\" target=\"_blank\">Face detection and image quality assessment</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-comparison-11\" target=\"_blank\">Face match (1:1)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-identification-1n\" target=\"_blank\">Face search (1:N)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#liveness-assessment\" target=\"_blank\">Liveness detection</a> Here is the <a href=\"https://github.com/regulaforensics/FaceSDK-web-openapi \" target=\"_blank\">OpenAPI specification on GitHub</a>. ### Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 6.2.0
|
|
9
9
|
Generated by: https://openapi-generator.tech
|
|
10
10
|
"""
|
|
11
11
|
|
|
@@ -37,8 +37,9 @@ class MatchingApi(object):
|
|
|
37
37
|
self.api_client = api_client
|
|
38
38
|
|
|
39
39
|
def detect(self, detect_request, **kwargs): # noqa: E501
|
|
40
|
-
"""
|
|
40
|
+
"""detect and check quality # noqa: E501
|
|
41
41
|
|
|
42
|
+
Use the POST `api/detect` endpoint to analyze images, recognize faces in them, and return cropped and aligned portraits of the detected people. The Face Detection feature lets you: - **Check face image quality**: Assess whether a portrait meets certain standards, for example, ICAO, Schengen visa, USA visa. To perform image quality check, use the `processParam.quality` field. - **Evaluate face attributes**: Estimate the age range of a person; check whether the eyes are occluded, closed, or open; detect a facial expression or smile; see if there are glasses, sunglasses, head coverage, medical mask, etc. To evaluate attributes, add the `processParam.attributes` field. You can perform Face Detection in two ways: - By adding parameters manually. In this case, the configuration is not saved and can not be automatically repeated. - By a processing `scenario` that includes certain parameters. You can use predefined scenarios or add custom ones. # noqa: E501
|
|
42
43
|
This method makes a synchronous HTTP request by default. To make an
|
|
43
44
|
asynchronous HTTP request, please pass async_req=True
|
|
44
45
|
|
|
@@ -68,8 +69,9 @@ class MatchingApi(object):
|
|
|
68
69
|
return self.detect_with_http_info(detect_request, **kwargs) # noqa: E501
|
|
69
70
|
|
|
70
71
|
def detect_with_http_info(self, detect_request, **kwargs): # noqa: E501
|
|
71
|
-
"""
|
|
72
|
+
"""detect and check quality # noqa: E501
|
|
72
73
|
|
|
74
|
+
Use the POST `api/detect` endpoint to analyze images, recognize faces in them, and return cropped and aligned portraits of the detected people. The Face Detection feature lets you: - **Check face image quality**: Assess whether a portrait meets certain standards, for example, ICAO, Schengen visa, USA visa. To perform image quality check, use the `processParam.quality` field. - **Evaluate face attributes**: Estimate the age range of a person; check whether the eyes are occluded, closed, or open; detect a facial expression or smile; see if there are glasses, sunglasses, head coverage, medical mask, etc. To evaluate attributes, add the `processParam.attributes` field. You can perform Face Detection in two ways: - By adding parameters manually. In this case, the configuration is not saved and can not be automatically repeated. - By a processing `scenario` that includes certain parameters. You can use predefined scenarios or add custom ones. # noqa: E501
|
|
73
75
|
This method makes a synchronous HTTP request by default. To make an
|
|
74
76
|
asynchronous HTTP request, please pass async_req=True
|
|
75
77
|
|
|
@@ -106,8 +108,8 @@ class MatchingApi(object):
|
|
|
106
108
|
local_var_params = locals()
|
|
107
109
|
|
|
108
110
|
all_params = [
|
|
109
|
-
'detect_request'
|
|
110
|
-
'x_request_id'
|
|
111
|
+
'detect_request',
|
|
112
|
+
'x_request_id',
|
|
111
113
|
]
|
|
112
114
|
all_params.extend(
|
|
113
115
|
[
|
|
@@ -177,8 +179,9 @@ class MatchingApi(object):
|
|
|
177
179
|
_request_auth=local_var_params.get('_request_auth'))
|
|
178
180
|
|
|
179
181
|
def match(self, match_request, **kwargs): # noqa: E501
|
|
180
|
-
"""
|
|
182
|
+
"""compare faces (1:1) # noqa: E501
|
|
181
183
|
|
|
184
|
+
To perform a comparison of faces in the same image or in two different images, use POST `/api/match`. It's possible to compare faces in the same image or in two different images, this is defined by the `images.type` parameter. <br><br> The face detection result is displayed in the `detections` field. Each face is identified by two parameters: `faceIndex` (the index number of the face) and `imageIndex` (the index number of the image on which the face is detected). So, if there are two images each of which has two faces in them, the parameters will be the following: - First face in the first image: `faceIndex: 0`, `imageIndex: 0` - Second face in the first image: `faceIndex: 1`, `imageIndex: 0` - First face of the second image: `faceIndex: 0`, `imageIndex: 1` - Second face in the second image: `faceIndex: 1`, `imageIndex: 1` # noqa: E501
|
|
182
185
|
This method makes a synchronous HTTP request by default. To make an
|
|
183
186
|
asynchronous HTTP request, please pass async_req=True
|
|
184
187
|
|
|
@@ -208,8 +211,9 @@ class MatchingApi(object):
|
|
|
208
211
|
return self.match_with_http_info(match_request, **kwargs) # noqa: E501
|
|
209
212
|
|
|
210
213
|
def match_with_http_info(self, match_request, **kwargs): # noqa: E501
|
|
211
|
-
"""
|
|
214
|
+
"""compare faces (1:1) # noqa: E501
|
|
212
215
|
|
|
216
|
+
To perform a comparison of faces in the same image or in two different images, use POST `/api/match`. It's possible to compare faces in the same image or in two different images, this is defined by the `images.type` parameter. <br><br> The face detection result is displayed in the `detections` field. Each face is identified by two parameters: `faceIndex` (the index number of the face) and `imageIndex` (the index number of the image on which the face is detected). So, if there are two images each of which has two faces in them, the parameters will be the following: - First face in the first image: `faceIndex: 0`, `imageIndex: 0` - Second face in the first image: `faceIndex: 1`, `imageIndex: 0` - First face of the second image: `faceIndex: 0`, `imageIndex: 1` - Second face in the second image: `faceIndex: 1`, `imageIndex: 1` # noqa: E501
|
|
213
217
|
This method makes a synchronous HTTP request by default. To make an
|
|
214
218
|
asynchronous HTTP request, please pass async_req=True
|
|
215
219
|
|
|
@@ -246,8 +250,8 @@ class MatchingApi(object):
|
|
|
246
250
|
local_var_params = locals()
|
|
247
251
|
|
|
248
252
|
all_params = [
|
|
249
|
-
'match_request'
|
|
250
|
-
'x_request_id'
|
|
253
|
+
'match_request',
|
|
254
|
+
'x_request_id',
|
|
251
255
|
]
|
|
252
256
|
all_params.extend(
|
|
253
257
|
[
|
|
@@ -317,8 +321,9 @@ class MatchingApi(object):
|
|
|
317
321
|
_request_auth=local_var_params.get('_request_auth'))
|
|
318
322
|
|
|
319
323
|
def match_and_search(self, match_and_search_request, **kwargs): # noqa: E501
|
|
320
|
-
"""
|
|
324
|
+
"""match and search (1:1 + 1:N) # noqa: E501
|
|
321
325
|
|
|
326
|
+
To compare several images from a document and look up a person in the database in one request, use POST `/api/match_and_search`. In this case, the calculation of the descriptor will be performed only once, as opposed to using two requests for the same operation. If only one person is identified, matching is not performed and only search is carried out. # noqa: E501
|
|
322
327
|
This method makes a synchronous HTTP request by default. To make an
|
|
323
328
|
asynchronous HTTP request, please pass async_req=True
|
|
324
329
|
|
|
@@ -348,8 +353,9 @@ class MatchingApi(object):
|
|
|
348
353
|
return self.match_and_search_with_http_info(match_and_search_request, **kwargs) # noqa: E501
|
|
349
354
|
|
|
350
355
|
def match_and_search_with_http_info(self, match_and_search_request, **kwargs): # noqa: E501
|
|
351
|
-
"""
|
|
356
|
+
"""match and search (1:1 + 1:N) # noqa: E501
|
|
352
357
|
|
|
358
|
+
To compare several images from a document and look up a person in the database in one request, use POST `/api/match_and_search`. In this case, the calculation of the descriptor will be performed only once, as opposed to using two requests for the same operation. If only one person is identified, matching is not performed and only search is carried out. # noqa: E501
|
|
353
359
|
This method makes a synchronous HTTP request by default. To make an
|
|
354
360
|
asynchronous HTTP request, please pass async_req=True
|
|
355
361
|
|
|
@@ -386,8 +392,8 @@ class MatchingApi(object):
|
|
|
386
392
|
local_var_params = locals()
|
|
387
393
|
|
|
388
394
|
all_params = [
|
|
389
|
-
'match_and_search_request'
|
|
390
|
-
'x_request_id'
|
|
395
|
+
'match_and_search_request',
|
|
396
|
+
'x_request_id',
|
|
391
397
|
]
|
|
392
398
|
all_params.extend(
|
|
393
399
|
[
|