LUNA PLATFORM v.5.25.0#
Summary#
-
The ability to define body attributes was added to the "/sdk" resource and the "detect_policy" of the "/handlers" resource (see the SDK documentation for more information about body attributes).
The following attributes can be estimated:
- gender (male, female, undefined) and age by body image. The estimation of gender and age in this way is less accurate than estimation by face image.
- presence of headwear, type of sleeves (long, short, undefined), clothing color (black, blue, green, gray, orange, purple, red, white, yellow, undefined). The following colors will be added in future updates: brown, pink, khaki, beige, multi-colored.
- presence of backpack.
A separate license is required to use the new functionality. You can get information about the license status by requesting the "/luna_sys_info" resource ("license_info" > "body_attributes" field).
New body attributes were added to the event structure (see "detections" > "samples" > "body" > "detection" > "attributes").
Example of estimating body attributes in the generated event, with "estimate_upper_body", "estimate_accessories" and "estimate_basic_attributes" parameters enabled in the handler:
"attributes": { "basic_attributes": { "apparent_age": 25, "apparent_gender": 0 }, "upper_body": { "headwear": { "state": 0 }, "sleeve": { "length": "short" }, "upper_clothing": { "colors": [ "white", "black" ] } }, "accessories": { "backpack": { "state": 0 } } }
The "apparent_gender", "apparent_age__gte", "apparent_age__lt", "headwear_states", "sleeve_lengths", "upper_clothing_colors", and "backpack_states" body attribute filters specified when using events as candidates were added to the "match_policy" of the "/handlers" resource and the "human body matching" resource. The ability to set body attributes as values for the "targets" field was also added.
Body attribute filters can also be used when sending events via web sockets (see the "ws handshake" resource). Appropriate event filters were added to the Cross-matching, Clustering, Reporter, Exporter and Linker tasks.
The ability to specify body attributes when creating new handler in the Estimator task is supported. Body attributes can be aggregated when "generating" or "saving" events and performing estimation in the "/sdk" resource. The aggregated attribute values are displayed in the "aggregate_estimations" fields of the respective resources.
-
Now the "/healthcheck" resource is used for checking the status of a launched service container when launching using start_platform.sh script.
Fixed errors
-
Validation of events generated by the "save event" request was fixed. If checks from the "face_quality" section were set in the event, then the event could be sent to the Sender service in the wrong format.
-
The error was fixed where it was possible to set non-empty values for the "emotions", "masks" and "liveness" filters when specifying events as candidates in the "match_policy" of the "/handlers" resource.
-
Fixed was the start_platform.sh fail upon changing the "DATA" variable value in the .env file.
API (v.6.0.0 - v.6.0.1)#
Improvements#
-
Service dependencies were updated.
-
Extra body attributes estimation options were added for resource sdk :
-
estimate_body_basic_attributes
-
estimate_upper_body
-
estimate_accessories
-
-
Extra body attributes estimation options were added into handler detect policy:
-
body_attributes
->estimate_basic_attributes
-
body_attributes
->estimate_upper_body
-
body_attributes
->estimate_accessories
-
-
Extra body attributes estimation filters were supported for handler match policy candidates:
-
apparent_gender
-
apparent_age__gte
,apparent_age__lt
-
headwear_states
-
sleeve_lengths
-
upper_clothing_colors
-
backpack_states
See resource create handler .
-
-
Extra body attributes supported for event aggregate estimation, see resources create event , save raw event :
-
body
->attributes
->basic_attributes
:apparent_age
,apparent_gender
-
body
->attributes
->upper_body
:headwear_state
,sleeve_length
,upper_clothing_colors
-
body
->attributes
->accessories
:backpack_state
-
-
Additional targets were supported for event matching & receiving:
-
basic_attributes
-
upper_attributes
-
accessories
-
-
Additional event filters were supported:
-
apparent_gender
-
apparent_age__gte
,apparent_age__lt
-
headwear_states
-
sleeve_lengths
-
upper_clothing_colors
-
backpack_states
See resources event receiving , event matching , ws handshake for details.
-
-
Additional event filters supported for cross-matching, clustering, reporting, exporter & linker tasks, see task processing .
Extra body attributes estimation options supported in estimator handler, see estimator task .
Faces (v.4.4.42 - v.4.4.43)#
Improvements#
- Service dependencies were updated.
Image Store (v.3.5.7 - v.3.5.8)#
Improvements#
- Service dependencies were updated.
Tasks (v.3.9.0 - v.3.9.1)#
Improvements#
-
Service dependencies were updated.
-
Support for body attributes was added.
Events (v.4.0.0 - v.4.0.1)#
Improvements#
-
Service dependencies were updated.
-
Extra body attributes supported for event creation :
-
basic attributes -
apparent_age
,apparent_gender
-
upper attributes -
headwear_state
,sleeve_length
,upper_clothing_color
-
accessories -
backpack_state
Additional targets
basic_attributes
,upper_attributes
,accessories
& body extra attribute filtering supported for event receiving and event matching . -
Configurator (v.2.0.36 - v.2.0.37)#
Improvements#
- Service dependencies were updated.
Sender (v.2.3.40 - v.2.3.41)#
Improvements#
-
Service dependencies were updated.
-
The
event
structure was updated (body attributes
was added for body detections and body aggregate estimations), see ws handshake for details.
Admin (v.4.6.30 - v.4.6.31)#
Improvements#
-
Service dependencies were updated.
-
Body attributes estimation feature licensing was added for the sys info .
Licenses (v.0.3.43 - v.0.3.44)#
Improvements#
- Service dependencies were updated.
Handlers (v.2.4.0 - v.2.4.1)#
Improvements#
-
Service dependencies were updated.
-
Body attributes estimation was added to detect_policy and to match_policy candidates event filters (see handler creation for details).
-
Generated event structure extended with body attributes. Several resources were updated:
-
Body attributes estimation feature licensing was added for the sdk and generate event resources.
Fixed bugs#
-
A input events validation was fixed ( save raw event ). If event contained face quality checks service could be send to service "luna-sender" incorrect format event.
-
emotions
,masks
,liveness
,ethnic_groups
filters must be not empty now, ( see create handler ).
Python Matcher and Python Matcher Proxy (v.1.1.0 - v.1.1.1)#
Improvements#
-
Service dependencies were updated.
-
Additional targets
basic_attributes
,upper_attributes
,accessories
& body extra attribute filtering supported for event matching candidates.
Backport3 (v.0.3.40 - v.0.3.41)#
Improvements#
- Service dependencies were updated.
Backport4 (v.1.2.40 - v.1.2.41)#
Improvements#
- Service dependencies were updated.