Use FaceStream with LUNA Configurator#
LUNA Configurator service enables you to store FaceStream, TrackEngine, and LUNA Streams settings and pass them to running FaceStream instances.
LUNA Configurator service also enables you to store the settings all the LUNA PLATFORM services necessary to launch FaceStream. See the LUNA PLATFORM settings in the LUNA PLATFORM 5 administrator manual.
After FaceStream is launched it uses the parameters specified in the LUNA Configurator service and does not request them until restart by default. If necessary, you can enable checking for changes in LUNA Configurator configurations and automatically restarting the FaceStream instance(s) using the "CONFIG_RELOAD" launch key, and set the period for receiving parameters using the "PULLING_TIME" launch key.
See description of the launch keys in the "FaceStream manual launching" > "Commands for launching FaceStream container" > "Launching keys" section FaceStream installation manual.
If checking for changes in the settings is disabled, then to apply the FaceStream instance settings changed in LUNA Configurator, you should manually restart this FaceStream instance.
Features of working with Configurator#
If the use of the LUNA Configurator service is specified in the FaceStream startup line, but the service is unavailable, or the specified parameters are incorrect, then FaceStream will issue an error in the log and will not be started. In this case, the FaceStream and TrackEngine settings will be taken from the local configuration files, if they were uploaded to the container.
LUNA Streams is not intended to use a configuration file.
Parameters in Configurator#
LUNA Configurator includes records with the specified parameters.
Each of the LUNA Configurator records contains a name, a tag, and a configuration body. A record corresponds to one of the configuration files.
Parameters in the LUNA Configurator services have the same names as in configuration files (fs3Config.conf, trackengine.conf) and documentation.
Correspondence of the LUNA Configurator data and distribution configuration files
Record name in LUNA Configurator | Corresponding configuration file | Description |
---|---|---|
FACE_STREAM_CONFIG | fs3Config.conf | FaceStream configuration |
TRACK_ENGINE_CONFIG | trackengine.conf | Detection and tracking parameters face or body |
Set configurations for several FaceStream instances#
If a single FaceStream instance is working with the Configurator service, it uses the settings that are loaded by default.
If you want to use multiple FaceStream instances with different settings, create a separate record with a unique tag for each of these settings.
The tag is a unique identifier for the record and is specified in the launching keys described in the installation manual. Thus a specific FaceStream instance can get its own unique settings.
Follow these steps:
- Duplicate the record, for example, "FACE_STREAM_CONFIG", by pressing the Duplicate button.
- Set a tag and specify parameters values.
Tags are not created for the default records.