LUNA PLATFORM v.5.20.0#
Changes
-
The ability to delete the source images associated with the event was added to the garbage collection task. To do this, use the "remove_image_origins" parameter, which is set in the request body.
The option was added to the following resources:
- "/tasks/gc" of the API service.
- "/tasks/gc" of the Admin service.
- "/tasks/gc" of the Tasks service.
The ability to delete source images was also added to the Admin service user interface: "Tasks" > "Garbage Collecting tasks" > "start descriptors gc" > "Remove image origins".
The system will try to delete images if they are stored in an external source.
-
The "image_origins" field, containing the URL of all source images associated with the event being deleted, can now be returned in the response to an "event deletion" request from the Events service. These URLs can be used to delete the source images later.
The "tagret" query parameter was added to the resource. You can specify the following values for it:
- "face_samples".
- "body_samples".
- "image_origins".
Depending on the specified targets, after deleting an event, the response will return information about the objects associated with this event: IDs of face/body samples, URLs of source images.
By default, the response body displays information about all the objects associated with the event: "face_samples", "body_samples" and "image_origins".
If you leave the "target" field empty, then only the "event id" of the event to be deleted will be returned.
-
New reference types for "face matching" and "human body matching" resources were added:
- "event_track_id" enables you to perform matching with each event containing the specified "track_id".
- "external_event_id" enables you to perform matching with each event containing the specified "external_id".
A search among several events related to the same face or body is performed when using these types. It reduces the effect of filming conditions (lighting, position relative to the camera, etc.) on the recognition accuracy.
The "event_id" field is returned in the response for each event used as a reference.
-
The "Advanced PostgreSQL setting" section with information about the configuration of PostgreSQL for working with LUNA PLATFORM was added to the administrator manual.
Fixed errors
-
In the Events service, an error was fixed where special characters entered in the "label" ("matches" > "label") and "external_id" ("matches" > "candidates" > "face"/"event" > "external_id") fields were incorrectly processed in the "create new events" request.
-
The error of aggregating the Liveness V2 estimation results for the "/liveness" resource was fixed. When sending one low-quality photo image to the resource, for which the system returned "prediction" = 2, a different value "prediction" was returned in the aggregated results for the same photo image.