FaceStream v.5.95.0#
Changes
-
The procedure for generating a request to the resource "/stream_events" for human detection has been changed.
Now face and body detections on the same frame are combined into one record. If the original frame is required for both detections, it will be added to the request only once, which optimizes data transfer.
-
The ability to directly use the LUNA Handlers service for storing events has been added.
This change simplifies the process of saving events by eliminating the need for an intermediate call to the LUNA API service, which improves the efficiency of the system.
To save events directly via LUNA Handlers, you need to specify the
origin
andapi_version
parameters of the LUNA Handlers service in the "lunaplatform" section of the FaceStream settings group. -
A new line has been added to the FaceStream log containing the track ID and stream ID.
Example of the added line:
+ Automatic log deletion is now enabled by default in the[I1226 19:04:15.037923 524519 FaceBestShotHandler.cpp:79] [streams] Track [6414eceb-fa5c-417e-8dec-763000000000] in stream [ff68e601-08e1-42cd-9751-deb737e79929] is added
LUNA_STREAMS_LOGS_CLEAR_INTERVAL
parameter group.This feature helps to automatically clear the database of outdated logs, preventing them from accumulating. Previously, automatic log deletion was disabled by default.
See the section "Streams logs automatic deletion".
Fixed errors
-
The video stream color format check has been added.
Now the system checks whether the video matches the
YUV420
format, which is the only supported one. In case of a mismatch, a readable error message is output to the log.Previously, the absence of such a check could lead to failures when processing video with an unsupported color format.
-
Fixed the occurrence of the
Internal server error
error when creating a stream with theimages
type and a missingmask
parameter.See the request "create stream v2".
-
The hard binding of the login
luna
and passwordluna
for authorization to the PostgreSQL database has been removed from the LUNA Streams database initialization script (base_scripts/db_create.py
).This made it impossible to deploy the LUNA Streams service if the login and password for the database differed from those above.