Skip to content

Commit 2c43c8c

Browse files
FlorinBuica-luxonisalex-luxonis
authored andcommitted
add configurable phase avg
1 parent 8c2b0cd commit 2c43c8c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utilities/cam_test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,10 @@ def exit_cleanly(signum, frame):
428428
print("ToF toggling f_mod value to:", f_mod)
429429
tofConfig.depthParams.freqModUsed = f_mod
430430
tofCfgQueue.send(tofConfig)
431+
elif key == ord('h'):
432+
tofConfig.depthParams.avgPhaseShuffle = not tofConfig.depthParams.avgPhaseShuffle
433+
print("ToF toggling avgPhaseShuffle value to:", tofConfig.depthParams.avgPhaseShuffle)
434+
tofCfgQueue.send(tofConfig)
431435
elif key == ord('t'):
432436
print("Autofocus trigger (and disable continuous)")
433437
ctrl = dai.CameraControl()

0 commit comments

Comments
 (0)