I'm using the depth calculation code and I tried to extract the configuration. The idea is to write in one file the settings of it (filters, subpixel use or not, etc.). Do you have an idea on how to extract all these settings ?
StereoDepth node has an output named outConfig, which outputs the stereo config at runtime.
If you don't make runtime changes, you can use stereo.initialConfig to get the initial, static config of stereo node.