LUNA PLATFORM v.5.45.1#
Changes
-
The SDK has been updated to version 5.14.0. Key SDK changes affecting LUNA PLATFORM 5:
- updated FaceDetV3 detector;
- updated Eyebrows estimator.
The default value of the
score_threshold
setting in the "LUNA_HANDLERS_FACE_DETECTOR_SETTINGS" section of the Handlers service settings was changed from 0.42 to 0.5. Migrating settings automatically update this value (see the section "Configurator database migration" in the upgrade manual). Check the face recognition logic if you use ascore_threshold
value other than the default value.Note: In the upcoming releases, the default version of the neural network for extracting body descriptors will be changed. You will need to manually change the version in the settings of the Handlers service, otherwise its launch will fail.
-
The LUNA PLATFORM license activation section has been moved to a separate license activation manual "LP_License_Activation_Manual.pdf/html".
-
The ability to activate a license using a Guardant key has been added.
This activation method requires a graphical system interface and access to the Internet. If the server where you plan to use LUNA PLATFORM does not meet these requirements, then you can perform part of the steps on a secondary server on Windows OS or Linux OS.
The old HASP key activation method remains available.
See the "License activation using Guardant key" section in the new license activation manual for details.
-
The ability to filter by
null
values (the value means that the attribute was not estimated) has been added for candidate events in the following requests:Also, filtering by
null
values has been added for event filters for the following tasks:Filtering has been added for the following attributes:
meta
source
emotion
mask
ethnic_group
liveness
gender
apparent_gender
headwear_state
sleeve_length
upper_clothing_colors
lower_garment_type
lower_garment_colors
shoes_apparent_color
backpack_state
city
district
street
house_number
area
geo_position
track_id
This enables you to filter events generated by different handlers with different policies, where the first one performed the estimation of a certain attribute (for example, the mask state is
occluded
), and the second one did not perform the estimation (for example, the mask state isnull
), but you need to get both events. -
The "get events" and "save event" requests have been sped up.
-
A new parameter "verify_ssl" has been added to the "S3" section of the Image Store service settings, which enables you to disable SSL certificate verification for S3-like storage.
This enables you to use a self-signed SSL certificate.
-
The mechanism for checking the connection with the Image Store service has been updated.
Previously, the Admin service performed validation by getting a list of all buckets, which could result in an error due to the user not having access to the buckets. Now the connection check is performed without getting a list of all buckets.
-
The ability to license the LUNA PLATFORM using Guardant dongles has been added.
This licensing method requires a graphical system interface and access to the Internet. If the server where you plan to use LUNA PLATFORM does not meet these requirements, then you can perform part of the steps on a secondary server on Windows OS or Linux OS.
The old HASP keys licensing method remains available.
See the "License activation" section of all installation/upgrade/migrate manuals for details.
-
A new subsection
CACHED_DATA
has been added to theDESCRIPTORS_CACHE
section of the Python Matcher service settings, which enables you to set data for caching.In the
face_lists
field, you can configure which lists will be cached and which ones will be ignored. There are two values available for this field:include
— only lists specified in this section will be cached (to disable, setnull
);exclude
— lists from this section will be ignored.
-
A new example of the "Thin face" built-in plugin has been added to the Python Matcher service.
The "Thin face" plugin is provided as an example to quickly match faces (objects) with simplified faces (objects). Simplified faces are stored in a separate database table "luna_faces" with three required columns ("face_id", "descriptor", "descriptor_version"). If necessary, you can configure a number of additional columns: "account_id", "lists", "create_time", "external_id", "user_data", "event_id", "avatar".
See a detailed description of the "Thin face" plugin and instructions for writing custom plugins in the "PythonMatcherDevelopmentManual" document in the distribution package.
Fixed errors
-
Fixed default values for some parameters in the following API service OpenAPI specification requests:
Also fixed the default value for the "extract_descriptor" parameter of the "create descriptors" request in the Backport 3 service OpenAPI specification and the default value for the "policies" > "create_face_policy" > "set_sample_as_avatar" parameter of the "create handler" request in the Backport 4 service OpenAPI specification.
-
Fixed an error in the "Estimator" task, which returned status code 500 when trying to connect to a non-existent endpoint of an S3-like server.
Now the status code 400 and error code 12031 are issued with the content "Specified bucket not available".
-
Fixed an error in the "Estimator" task, which returned status code 500 when trying to connect to a Samba server without authorization.
Now the status code 400 and error code 12031 are issued with the content of the Samba error.
-
Fixed a behavior where, in some cases, access rights errors detected during license initialization might not be displayed in the Licenses service logs.
Now, with such errors in the logs of the Licenses service, messages like
Failed to init licensing
will always be issued. -
Fixed
object of type 'Image' has no len()
error with status code 500 when estimating some rotated images withuse_exif_info
parameter enabled. -
Fixed an error in the Python Matcher service that caused the descriptor cache to be reloaded when the logging settings were changed.
-
Fixed an error where it was not possible to specify more than 36 characters for the
source
filter for candidates in matching requests.Now you can specify a maximum of 128 characters.
-
Fixed an error that occurred when migrating accounts and tokens of the Backport 3 service when upgrading from versions 5.2.0...5.28.0 to versions 5.30.0 and higher.