22 enum class OperationMode: int { DEVELOPMENT, RELEASE_LIFETIME, RELEASE_SESSION };
23 enum class LogLevel: int { TRACE, DEBUG, INFO, WARN, ERR, CRITICAL };
25 enum class TrackerFps: int { DYNAMIC, FPS_30, FPS_10, FPS_5 };
26 enum class Range : int { REGULAR, LONG };
29 void load(
const std::string & filePath );
30 void save(
const std::string & filePath );
32 bool operator != (
const Settings & settings )
const;
33 bool operator == (
const Settings & settings )
const;
35 bool cpuTargetEnabled()
const;
36 bool gpuTargetEnabled()
const;
39 std::string neuralNetworksPath =
"";
40 std::string licenseKey =
"";
41 std::string lifetimeAuthFile =
"";
51 bool useGender =
true;
52 bool useHeadpose =
true;
54 bool useFaceMask =
true;
55 bool useEmotions =
true;
57 float faceConfidenceThreshold = 0.8f;
62 Range detectionRange = Range::REGULAR;