Holds the options used to change the behavior of the body tracking module at runtime. More...
Functions | |
| bool | save (String filename) const |
| Saves the current set of parameters into a file to be reloaded with the load() method. More... | |
| bool | load (String filename) |
| Loads a set of parameters from the values contained in a previously saved file. More... | |
| bool | encode (String &serialized_content) const |
| Generate a JSON Object (with the struct type as a key) containing the serialized struct, converted into a string. More... | |
| bool | decode (const String &serialized_content) |
| Fill the structure from the serialized json object contained in the input string. More... | |
| bool | operator== (const BodyTrackingFusionRuntimeParameters ¶m1) const |
| Comparison operator ==. More... | |
| bool | operator!= (const BodyTrackingFusionRuntimeParameters ¶m1) const |
| Comparison operator !=. More... | |
Attributes | |
| int | skeleton_minimum_allowed_keypoints = -1 |
| If the fused skeleton has less than skeleton_minimum_allowed_keypoints keypoints, it will be discarded. More... | |
| int | skeleton_minimum_allowed_camera = -1 |
| If a skeleton was detected in less than skeleton_minimum_allowed_camera cameras, it will be discarded. More... | |
| float | skeleton_smoothing = 0.f |
| This value controls the smoothing of the tracked or fitted fused skeleton. More... | |
Holds the options used to change the behavior of the body tracking module at runtime.
| bool save | ( | String | filename | ) | const |
Saves the current set of parameters into a file to be reloaded with the load() method.
| filename | : Name of the file which will be created to store the parameters (extension '.json' will be added if not set). |
| bool load | ( | String | filename | ) |
Loads a set of parameters from the values contained in a previously saved file.
| filename | : Path to the file from which the parameters will be loaded (extension '.json' will be added at the end of the filename if not detected). |
| bool encode | ( | String & | serialized_content | ) | const |
Generate a JSON Object (with the struct type as a key) containing the serialized struct, converted into a string.
| serialized_content | output string containing the JSON Object |
| bool decode | ( | const String & | serialized_content | ) |
Fill the structure from the serialized json object contained in the input string.
| serialized_content | input string containing the JSON Object |
| bool operator== | ( | const BodyTrackingFusionRuntimeParameters & | param1 | ) | const |
Comparison operator ==.
| param1 | to compare |
| bool operator!= | ( | const BodyTrackingFusionRuntimeParameters & | param1 | ) | const |
Comparison operator !=.
| param1 | to compare |
| int skeleton_minimum_allowed_keypoints = -1 |
If the fused skeleton has less than skeleton_minimum_allowed_keypoints keypoints, it will be discarded.
| int skeleton_minimum_allowed_camera = -1 |
If a skeleton was detected in less than skeleton_minimum_allowed_camera cameras, it will be discarded.
| float skeleton_smoothing = 0.f |
This value controls the smoothing of the tracked or fitted fused skeleton.
It is ranged from 0 (low smoothing) and 1 (high smoothing).