nx_metadata_sdk  1.0
Metadata SDK
stub_analytics_plugin_motion_metadata_ini.h
1 // Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
2 
3 #pragma once
4 
5 #include <nx/kit/ini_config.h>
6 #include <nx/sdk/analytics/helpers/pixel_format.h>
7 
8 namespace nx {
9 namespace vms_server_plugins {
10 namespace analytics {
11 namespace stub {
12 namespace motion_metadata {
13 
14 struct Ini: public nx::kit::IniConfig
15 {
16  Ini(): IniConfig("stub_analytics_plugin_motion_metadata.ini") { reload(); }
17 
18  NX_INI_FLAG(0, enableOutput, "");
19 
20  NX_INI_FLAG(0, deviceDependent, "Respective capability in the manifest.");
21 
22  NX_INI_FLAG(0, visualizeMotion,
23  "If set, the Engine will visualize motion metadata via object bounding boxes (each\n"
24  "active motion grid cell is dispalyed as a separate object), regular object generation\n"
25  "is disabled in this case, so the correspondent DeviceAgent settings won't work. Use\n"
26  "carefully since this option can affect performance very much.");
27 
28  NX_INI_FLAG(0, keepObjectBoundingBoxRotation,
29  "If set, Engine will declare the corresponding capability in the manifest.");
30 };
31 
32 Ini& ini();
33 
34 } // namespace motion_metadata
35 } // namespace stub
36 } // namespace analytics
37 } // namespace vms_server_plugins
38 } // namespace nx
Definition: ini_config.h:78
Definition: stub_analytics_plugin_motion_metadata_ini.h:14
static TestIni & ini()
Definition: ini_config_ut.cpp:72
Definition: apple_utils.h:6
IniConfig(const char *iniFile)
Definition: ini_config.cpp:651
void reload()
Definition: ini_config.cpp:706