remove superfluous logging

This commit is contained in:
Ruben van de Ven 2024-06-20 12:11:23 +02:00
parent d9547bb372
commit 7f1c3d86f7

View file

@ -151,13 +151,12 @@ class Renderer:
# cv2.imwrite(str(img_path), img) # cv2.imwrite(str(img_path), img)
logger.info(f"write frame {frame.time - first_time:.3f}s") logger.debug(f"write frame {frame.time - first_time:.3f}s")
if self.out_writer: if self.out_writer:
self.out_writer.write(frame.img) self.out_writer.write(frame.img)
if self.streaming_process: if self.streaming_process:
self.streaming_process.stdin.write(frame.img.tobytes()) self.streaming_process.stdin.write(frame.img.tobytes())
if self.config.render_window: if self.config.render_window:
print('show')
cv2.imshow('frame',frame.img) cv2.imshow('frame',frame.img)
cv2.waitKey(1) cv2.waitKey(1)
logger.info('Stopping') logger.info('Stopping')