LUNA PLATFORM v.5.38.1#
Changes
-
The ability to transfer source images in URL or Base64 format in the "generate events" request has been added.
The source images can be transferred by specifying the
Content-Type = application/jsonorContent-Type = multipart/form-data. -
Docker Compose script
start_logging.shhas been added to the LUNA PLATFORM distribution package, which launches the LUNA Dashboards, Grafana Loki and Promtail service, enabling you to flexibly work with LUNA PLATFORM logs in Grafana.The script is located in the
example-dockerdirectory.In the LUNA PLATFORM installation manual using Docker Compose, the relevant information has been added to the launch section of the main Docker Compose script.
See detailed information about logging visualization in the "Grafana Loki" section of the administrator manual.
-
Sending data to InfluxDB has been speeded up.
-
The ability to filter by
nullvalues (the value means that the attribute was not estimated) for the following attributes in the requests "get events" and "get statistics on events" has been added:metasourceemotionmaskethnic_grouplivenessgenderapparent_genderheadwear_statesleeve_lengthupper_clothing_colorslower_garment_typelower_garment_colorsshoes_apparent_colorbackpack_statecitydistrictstreethouse_numberareageo_position(fieldorigin_longitudeandorigin_latitudefor request "get events")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. -
Section of the form
<service_name>_HTTP_SETTINGShas been added to the settings of each service, containing settings responsible for processing HTTP connections.The following settings are available:
request_timeout— the duration of time between the instant when a new open TCP connection is passed to the server. Value (in seconds) is integer number, default 60.response_timeout— the duration of time between the instant the server passes the HTTP request to the app, and the instant a HTTP response is sent to the client. Value (in seconds) is integer number, default 600.request_max_size— how big a request may be (bytes). Value (in bytes) is integer number, default 1gb.keep_alive_timeout— http keep alive timeout. Value (in seconds) is integer number, default 15.
See the following link for details: https://sanic.dev/en/guide/deployment/configuration.html#builtin-values
-
Improved performance of "get faces" request with
list_idandface_id__gte/ltfilters. -
The ability to redefine the settings of services at their start using environment variables has been added.
The
VL_SETTINGSprefix is used to redefine the settings. Examples:VL_SETTINGS.INFLUX_MONITORING.SEND_DATA_FOR_MONITORING=0. Using the environment variable from this example will set theSEND_DATA_FOR_MONITORINGsetting for theINFLUX_MONITORINGsection to0.VL_SETTINGS.OTHER.STORAGE_TIME=LOCAL. For non-compound settings (settings that are located in theOTHERsection in the configuration file), you must specify theOTHERprefix. Using the environment variable from this example will set the value of theSTORAGE_TIMEsetting (if the service uses this setting) toLOCAL.
The environment variable can be specified using the
ENVargument when running services in Docker containers. -
The "get license" request of the Licenses service now has the ability to get the value of a specific licensing feature using the new
targetsfield. -
Support for dashboards for LIM has been added.
Fixed errors
-
In the example responses of requests "get events", "get event", "get task result" and "ws handshake" in the OpenAPI specification, the description of the fields from
body_basic_attributestobasic_attributes, fromupper_body_attributestoupper_body, fromlower_body_attributestolower_bodyand frombody_accessoriestoaccessories. -
Fixed the error where the "Exporter" task would continue to run with incomplete data even if it encountered an error.
Now, when an error occurs while executing the Exporter task, errors with codes 28038 (failed to load data) and 28039 (failed to load data, but there were repeated attempts to reconnect to the Faces or Events services) will be returned.
-
Fixed the error due to which the loading of a large task result was interrupted.