File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
bindings/python/utilities Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -342,12 +342,6 @@ def socket_to_socket_opt(socket: dai.CameraBoardSocket) -> str:
342342 # Uncomment to get better throughput
343343 # pipeline.setXLinkChunkSize(0)
344344
345- control = pipeline .createXLinkIn ()
346- #control.setStreamName('control')
347-
348- xinTofConfig = pipeline .createXLinkIn ()
349- #xinTofConfig.setStreamName('tofConfig')
350-
351345 cam = {}
352346 tof = {}
353347 xout = {}
@@ -360,9 +354,6 @@ def socket_to_socket_opt(socket: dai.CameraBoardSocket) -> str:
360354 for c in cam_list :
361355 print ("CAM: " , c )
362356 tofEnableRaw = False
363- #xout[c] = pipeline.createXLinkOut()
364- #xout[c].setStreamName(c)
365- #streams.append(c)
366357 if cam_type_tof [c ]:
367358 cam [c ] = pipeline .create (dai .node .Camera ) # .Camera
368359 if args .tof_raw :
@@ -439,7 +430,6 @@ def socket_to_socket_opt(socket: dai.CameraBoardSocket) -> str:
439430 # cam[c].initialControl.setManualExposure(15000, 400) # exposure [us], iso
440431 # When set, takes effect after the first 2 frames
441432 # cam[c].initialControl.setManualWhiteBalance(4000) # light temperature in K, 1000..12000
442- control .out .link (cam [c ].inputControl )
443433 #if rotate[c]:
444434 # cam[c].setImageOrientation(
445435 # dai.CameraImageOrientation.ROTATE_180_DEG)
You can’t perform that action at this time.
0 commit comments