Skip to content

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/json or Content-Type = multipart/form-data.

  • Docker Compose script start_logging.sh has 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-docker directory.

    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 null values (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:

    • 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 (поля origin_longitude и origin_latitude для запроса "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 is null), but you need to get both events.

  • Section of the form <service_name>_HTTP_SETTINGS has 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_id and face_id__gte/lt filters.

  • The ability to redefine the settings of services at their start using environment variables has been added.

    The VL_SETTINGS prefix 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 the SEND_DATA_FOR_MONITORING setting for the INFLUX_MONITORING section to 0.
    • VL_SETTINGS.OTHER.STORAGE_TIME=LOCAL. For non-compound settings (settings that are located in the OTHER section in the configuration file), you must specify the OTHER prefix. Using the environment variable from this example will set the value of the STORAGE_TIME setting (if the service uses this setting) to LOCAL.

    The environment variable can be specified using the ENV argument 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 targets field.

  • 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_attributes to basic_attributes, from upper_body_attributes to upper_body, from lower_body_attributes to lower_body and from body_accessories to accessories.

  • 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.