MCPcopy Create free account
hub / github.com/SpectacularAI/sdk / create_rgb_camera_control

Function create_rgb_camera_control

python/cli/record/oak.py:235–240  ·  view source on GitHub ↗
(colorCameraNode)

Source from the content-addressed store, hash-verified

233 cameraControlQueueNames = []
234 if args.white_balance or args.exposure or args.sensitivity:
235 def create_rgb_camera_control(colorCameraNode):
236 controlName = f"control_{len(cameraControlQueueNames)}"
237 cameraControlQueueNames.append(controlName)
238 controlIn = pipeline.create(depthai.node.XLinkIn)
239 controlIn.setStreamName(controlName)
240 controlIn.out.link(colorCameraNode.inputControl)
241 if vio_pipeline.colorLeft: create_rgb_camera_control(vio_pipeline.colorLeft)
242 if vio_pipeline.colorRight: create_rgb_camera_control(vio_pipeline.colorRight)
243 if vio_pipeline.monoLeft: create_rgb_camera_control(vio_pipeline.monoLeft)

Callers 1

recordFunction · 0.85

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected