Skip to content

Commit

Permalink
Merge pull request luxonis#609 from luxonis/demo_30_fps
Browse files Browse the repository at this point in the history
Disable stereo runtime mode switch since it allocates resources for worst case
  • Loading branch information
SzabolcsGergely authored Jan 13, 2022
2 parents a4dcb33 + 567fff1 commit 288f1c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion depthai_sdk/src/depthai_sdk/managers/pipeline_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 288f1c8

Please sign in to comment.