Release 5.2 — July 6, 2023
IMPORTANT Changes
- We've made some impactful changes in this release to enhance the usability of the Identification (aka Search) functionality:
- A
group
parameter is now required when creating or searching for aperson
. If thegroup
parameter is not specified, adefault
group will be created, andperson
entities without a specifiedgroup
will be placed in that default group. - The
api/persons
endpoint was removed and replaced with the/api/groups/{groupId}/persons
endpoint. - The
type
format ofId
fields was changed fromint
toguid
. Refer to the Migration Guide for more information. - The naming convention has been standardized to follow camelCase, here are the details, see сlause 5.
- A
- The way to set up customization of the Web Component has been changed. Previously configured customizations are no longer supported. You need to make some changes in your projects to migrate to this version of the Web Component. Please visit the Migration Guide to get more details.
- The customization capabilities of the Web Component were significantly extended, please explore the new features here.
- Added support for new database types: Oracle, MySQL, MariaDB, SQLite.
- Added support for the following storage types: Google Cloud Storage, Azure Blob Storage, File Storage.
- Added an optional
tag
parameter that can be applied to all requests. Requests with the sametag
are grouped into a single session. If a request lacks atag
, a unique tag is automatically generated by the web service. You will find new request signatures in the OpenAPI specification.
Liveness 2.0
- Added illumination validation in the Mobile SDK. The application prompts to adjust the illumination if it is not sufficient for high-quality photos. The process is blocked until the illumination reaches a sufficient level.
- Added age estimation to the results of liveness verification. This additional information does not impact the liveness check process but can be used as an extra factor for decision-making purposes. See updates in OpenAPI specification, Web Components, Mobile section.
- Updated the start screen for both Web and Mobile. Now, it provides instructions before starting the procedure. The screen is customizable.
- Enhanced presentation attack detection (PAD) mechanism on iPhone devices.
- Improved presentation attack detection (PAD) mechanism for recorded videos or face replacement software.
- Video recording on the Web Component is now enabled by default.
Face Identification
- Added photo compression and resizing capabilities, see docs.
- Added an ability to add a new person if no person is found, see docs.
- Added an option to create a person using a URL to a photo on an external resource, eliminating the need to copy the photo, see docs.
- Added a capability to detect all faces in an image containing multiple faces, see details in the OpenAPI specification.
- Added a possibility to obtain thumbnails of the detected faces in an image that was used for searching, see details in the OpenAPI specification.
- Changed the ordering of person list and image list responses to be in descending order based on ID.
- Standardized all returned dates to align with the ISO standard format:
YYYY-MM-DDThh:mm:ssZ
- Added support of the Identification functionality to the Mobile SDK.
Mobile
- Updated the Mobile Face SDK installation guides due to changes in the product architecture.
- Supported customization of the result screen for liveness assessment, learn more for iOS and Android.
- Added an option to disable the "Close" and "SwitchCamera" buttons.
- Enabled button creation over camera UI using the
customUILayer
property in theCustomization
class, learn more for iOS and Android.
iOS
- Added a FaceSDK usage example in a project based on SwiftUI.
- Resolved layout issues in Accessibility Mode.
Android
- Resolved layout issues in Accessibility Mode.
- Fixed an issue where base64-encoded data contained \n characters from an image that was returned from the liveness assessment.
- Updated values in the
LivenessSkipStep
enum with new names, see the Migration Guide for details. - Fixed a video rotation issue during the liveness assessment process.
- Resolved a reflected prompt issue on some devices during the liveness process.
- Improved the liveness check performance.
Hybrid
- Xamarin: added .NET MAUI support.
Web Service API
- Added a possibility to write logs to storage (the supported types are File System, Azure Blob Storage, Google Cloud Storage, AWS S3, MinIO).
- Added an endpoint to get the service readiness status:
/api/readiness
. See the OpenAPI specification. - Added an option to trust a self-issued certificate, skipping CA certificate validation. See
FACEAPI_S3_SECURE_CONNECTION
on the Settings page. - Updated package dependencies to the latest version.
- Added Prometheus metrics for advanced monitoring, see the Monitoring guide.
- Added a notification when deprecated environment variables are used. Such variables are marked as deprecated in the documentation as well.
- Enhanced service startup time: Achieved up to a 30% reduction in the time required to start the service.
- The
/api/ping
endpoint now handles insufficient space on a server correctly. - Fixed an issue with an error occurring during the startup process if S3 storage was unavailable, preventing failed request processing. Added logging capability to S3.
- Added separation of liveness transactions by minutes and a corresponding level to the S3 path.
- Fixed an issue where the
/api/ping
request might have failed even when a service was available, but the load was high enough. This issue could lead to the restart of the service. - Removed sensitive information, such as logins, passwords, etc. from the logs.
Demo Web Site
- Fixed an issue where the liveness process was in a different language than the site language.
Web Component
- Added a possibility to disable the Close button during the liveness process, see the
close-disabled
attribute. - Added a possibility to disable the result screen, see the
finish-screen
attribute. - Added a possibility to customize the result screen of the liveness process, see Customization.
- Added a possibility to add your own localization, see Custom translations.
- Added an example of using in Angular: See on Github.
- Added a possibility to enable video recording during the liveness check process, see the
video-recording
attribute. - Fixed an issue with prompts during the liveness processing being in English.
- Fixed an issue with the location of the circle when switching between cameras.
- Fixed an issue with incorrect positioning of sectors during the liveness procedure when changing zoom in Safari browser.
- Fixed an issue with the component waiting for a server's response after clicking on the Go button and being unable to close if the server didn't respond.
- Fixed a delay in redrawing the layout when rotating a device.
- Changed behavior when a mobile device is rotated. Now the retry screen is shown.
- Added an error code to the UI screen that is displayed when something goes wrong on the backend.
Installation packages
- Added possibilities to handle an existing config file, here is more information.
- Fixed an issue where it was impossible to install a minor update on Windows.
- Updated installation packages according to the latest product changes.
Versions
The following Face SDK component versions comply with this release:
Component | Version |
---|---|
Web Service | 5.2.256.839 |
Web Components | 3.0.0 |
Mobile Native | |
ㅤㅤㅤiOS API | 5.2.1569 |
ㅤㅤㅤiOS Core | 5.2.383 |
ㅤㅤㅤAndroid API | 5.2.2715 |
ㅤㅤㅤAndroid Core | 5.2.232 |
Mobile Hybrid | |
ㅤㅤㅤXamarin iOS API | 5.2.1569 |
ㅤㅤㅤXamarin iOS Core | 5.2.383 |
ㅤㅤㅤXamarin Android API | 5.2.2715 |
ㅤㅤㅤXamarin Android Core | 5.2.232 |
ㅤㅤㅤReact Native API | 5.2.0 |
ㅤㅤㅤReact Native Core | 5.2.0 |
ㅤㅤㅤCordova API | 5.2.0 |
ㅤㅤㅤCordova Core | 5.2.0 |
ㅤㅤㅤIonic Native API | 5.2.0 |
ㅤㅤㅤFlutter API | 5.2.0 |
ㅤㅤㅤFlutter Core | 5.2.0 |