LUNA PLATFORM v.5.24.0#
Changes#
-
Support for FTP server as an image source (the "source_type" parameter) was added to the estimator task ("/tasks/estimator" resource).
For this type of source, the following parameters can be set in the request body for connecting to the FTP server:
- host - FTP server IP address or hostname (required);
- port - FTP server port;
- max_sessions - maximum number of allowed sessions on the FTP server;
- user, password - authorization parameters (required).
As in Estimator tasks using S3-like storage or network disk as image sources, it is possible to set the path to the directory with images, recursively receive images from nested directories, select the type of transferred images, and specify the prefix and postfix.
To obtain correct results of image processing using the Estimator task, all processed images should be either in the source format or in the format of samples.
See the OpenAPI specification for related examples and more information.
-
New "detect_ts" parameter was added for events, which enables you to store a timestamp relative to something, for example, relative to the beginning of a video file (see the response body of the generate events request).
The value of the "detect_ts" parameter can also be set manually using the "save event" request.
-
Memory consumption was significantly reduced for the Clustering, ROC-curve calculating and Cross-matching tasks, as well as for the Python Matcher and Image Store services.
Also, to increase performance in the "cross matching faces" and "cross matching bodies" resources of the Python Matcher service, the Content-Type of the response body was changed from "application/json" to "application/msgpack".
-
New "sorting" query parameter was added to the "cross matching faces" and "cross matching bodies" resources of the Python Matcher service to disable sorting of match results in lexicographic order.
-
Support for the Vertica database for the Events service was discontinued. The settings for changing the database to Vertica was removed from the Configurator service settings, and the corresponding information was removed from the documentation.
-
Checking for the presence of avx2 instructions on the processor when starting containers using the Docker Compose script was added. If the processor does not have avx2 support, then the "avx2 not supported" error will be displayed when starting containers.
Fixed errors#
- The error was fixed where only real numbers were processed for some request parameters with type "number". The "Failed to validate input json" error occurred when entering integers.