Hello ynjiun , I believe default is HIGH_DENSITY. So the high density will have less depth holes and will look "nicer", while it might not be as accurate, and the HIGH_ACCURACY will be more accurate but will have more holes (invalid pixels) in disparity/depth map. Implementation here:
void StereoDepth::setDefaultProfilePreset(PresetMode mode) {
presetMode = mode;
switch(presetMode) {
case PresetMode::HIGH_ACCURACY: {
initialConfig.setConfidenceThreshold(200);
initialConfig.setLeftRightCheck(true);
initialConfig.setLeftRightCheckThreshold(5);
} break;
case PresetMode::HIGH_DENSITY: {
initialConfig.setConfidenceThreshold(245);
initialConfig.setLeftRightCheck(true);
initialConfig.setLeftRightCheckThreshold(10);
} break;
}
}
Thanks, Erik