I want to get/set config value with user code.
I think that it will use getConfigValue() and setConfigValue().
However, I don’t know how to specify key.
Can you give me an example about it?
(For example, Depth resolution of RealSense2Module.)
Its not really documented anywhere - much like most of the option settings sadly.
But the values are a set of dotted paths based on the elements in nuitrack.config
So for example to change the ProcessWidth - go into the nuitrack.config - find the element you want … and work out its path:
A NOTE HOWEVER - you cant make many of these changes while the system is running.
Best option that we have found is to make changes just after nuitrack:init(); runs successfully that way the default values from nuitrack.config are all setup correctly first.
Then you can override any settings you need to change.
By the way, How is it implemented in what way in NuiTrack?
I think it seems to be just scaling the image, because it enable set to not supported resolutions (e.g. 1920x1080) in RealSense SDK.
“ProcessWidth”, “ProcessHeight” is a resolution which raw input stream will be resized into (it will be upscaled/downsampled and cropped to fit aspect ratio if needed).
To change the raw stream, you can add “RawWidth”, “RawHeight”, “FPS” options to the Realsense2Module.Depth section, for example:
Interesting detail - that actually may explain why the d435 crashes on startup more often the the d415.
848x480 isnt a supported format for some legacy usb3 connectors it seems … if we force those devices back to 640x480 they connect every time.
How can I access the ConfidenceThreshold value? I tried: Nuitrack::getConfigValue("RegressionSkeletonization.Filter.CombinationFilter[2].Confidence.ConfidenceThreshold"); but it returns nothing at all.