From 567fff1fc3b5f2e2edba8f43855aad1e962cc841 Mon Sep 17 00:00:00 2001 From: SzabolcsGergely Date: Wed, 12 Jan 2022 15:32:10 -0800 Subject: [PATCH] Disable stereo runtime mode switch since it allocates resources for worst case --- depthai_sdk/src/depthai_sdk/managers/pipeline_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depthai_sdk/src/depthai_sdk/managers/pipeline_manager.py b/depthai_sdk/src/depthai_sdk/managers/pipeline_manager.py index cfb4dcebc..f695ab448 100644 --- a/depthai_sdk/src/depthai_sdk/managers/pipeline_manager.py +++ b/depthai_sdk/src/depthai_sdk/managers/pipeline_manager.py @@ -270,7 +270,7 @@ def createDepth(self, dct=245, median=dai.MedianFilter.KERNEL_7x7, sigma=0, lr=F self._depthConfig = self.nodes.stereo.initialConfig.get() - self.nodes.stereo.setRuntimeModeSwitch(True) + # self.nodes.stereo.setRuntimeModeSwitch(True) self.nodes.stereo.setLeftRightCheck(lr) self.nodes.stereo.setExtendedDisparity(extended) self.nodes.stereo.setSubpixel(subpixel)