Settings for sending photo images to LUNA PLATFORM#
To send photo images to the LUNA PLATFORM, first of all, you need to configure FaceStream to work with faces or bodies (see parameters for switching detection mode below), as well as configure the basic parameters necessary for the correct operation of the application. All parameters are separated as follows:
-
FaceStream parameters are set in the "fs3config.conf" configuration file or in the "FACE_STREAM_CONFIG" section in the Configurator.
-
Video-stream sources parameters are set in the "input.json" configuration file or in the "FS_STREAMS" section in the Configurator.
-
Trackengine parameters are set in the "trackengine.conf" configuration file or in the "TRACK_ENGINE_CONFIG" section in the Configurator.
See the detailed description of the parameters listed below in the administrator manual.
The following common parameters are available for sending both faces and bodies:
FaceStream parameters
Parameter | Description |
---|---|
async_requests | Enables you to switch between asynchronous and synchronous request sending modes in LUNA PLATFORM |
send_source_frame | Enables sending the source frame to LUNA PLATFORM |
jpeg_quality_level | Enables you to set the compression ratio of the source frame |
Stream sources parameters
Parameter | Description |
---|---|
image_store_url | Enables you to set the URL of the Image Store service to send the source frame |
Face images sending to LUNA PLATFORM 5#
The parameters for sending face images to LUNA PLATFORM 5 are listed below.
Trackengine parameters
Parameter | Description |
---|---|
use-face-detector | Enables face detection - 1 |
use-body-detector | Enables body detection - 0 |
FaceStream parameters
Parameter | Description |
---|---|
luna_api | The version of the API of the API service - 6 |
request_type | Request type for sending images to LP - jpeg |
portrait_type | Image transfer format - warp |
aggregate_attr_requests | Enables aggregation of the bestshots to get a single descriptor in LUNA PLATFORM - true or false |
Stream sources parameters
Parameter | Description |
---|---|
name | The value of "name" (20 characters) and an automatically generated track ID (16 characters) are used to form the external_id field in LP - string |
luna_account_id | "Luna_account_id", to which the request is related - string in UUID format |
url | The URL that generates the "generate events" request to LP 5 - http://<luna_api_adress>:5000/6/handlers//events . In this example, the default port "5000" of the API service is specified |
For detailed information about the "/handlers" and "/handlers//events" resources, see the documentation APIReferenceManual.html included in the LUNA PLATFORM 5 distribution package.
Body images sending to LUNA PLATFORM 5#
The parameters for sending body images to LUNA PLATFORM 5 are listed below.
Trackengine parameters
Parameter | Description |
---|---|
use-face-detector | Enables face detection - 0 |
use-body-detector | Enables body detection - 1 |
FaceStream parameters
Parameter | Description |
---|---|
luna_api | The version of the API of the API service - 6 |
request_type | Request type for sending images to LP - jpeg |
portrait_type | Image transfer format - warp |
aggregate_attr_requests | Enables aggregation of the bestshots to get a single descriptor in LUNA PLATFORM - true or false |
Stream sources parameters
Parameter | Description |
---|---|
name | The value of "name" (20 characters) and an automatically generated track ID (16 characters) are used to form the external_id field in LP - string |
luna_account_id | "Luna_account_id", to which the request is related - string in UUID format |
luna_human_handler_id | LP handler that enables you to flexibly configure the processing of bodies - string in UUID format |
luna_dynamic_human_handler_id | dynamic LP handler that enables you to attach body coordinates to an event string in UUID format |
url | full network path to LP 5 - http://<luna_api_adress>:5000/ . In this example, the default port "5000" of the API service is specified |
For detailed information about the handlers, see the documentation APIReferenceManual.html included in the LUNA PLATFORM 5 distribution package.