File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -407,6 +407,9 @@ def exit_cleanly(signum, frame):
407
407
txt += f"ISO: { pkt .getSensitivity ():4} , "
408
408
txt += f"Lens pos: { pkt .getLensPosition ():3} , "
409
409
txt += f"Color temp: { pkt .getColorTemperature ()} K"
410
+ if needs_newline :
411
+ print ()
412
+ needs_newline = False
410
413
print (txt )
411
414
capture = c in capture_list
412
415
if capture :
@@ -452,7 +455,7 @@ def exit_cleanly(signum, frame):
452
455
print ("\r FPS:" ,
453
456
* ["{:6.2f}|{:6.2f}" .format (fps_host [c ].get (), fps_capt [c ].get ()) for c in cam_list ],
454
457
end = ' ' , flush = True )
455
- if show : print ()
458
+ needs_newline = True
456
459
457
460
key = cv2 .waitKey (1 )
458
461
if key == ord ('q' ):
@@ -626,3 +629,5 @@ def exit_cleanly(signum, frame):
626
629
tofConfig .depthParams .minimumAmplitude = amp_min
627
630
tofCfgQueue .send (tofConfig )
628
631
controlQueue .send (ctrl )
632
+
633
+ print ()
You can’t perform that action at this time.
0 commit comments