diff --git a/rerun_py/depthai_viewer/_backend/packet_handler.py b/rerun_py/depthai_viewer/_backend/packet_handler.py index c8957ee05d43..8e757f1e2587 100644 --- a/rerun_py/depthai_viewer/_backend/packet_handler.py +++ b/rerun_py/depthai_viewer/_backend/packet_handler.py @@ -190,7 +190,7 @@ def _log_img_frame(self, frame: dai.ImgFrame, board_socket: dai.CameraBoardSocke ) elif frame.getType() == dai.RawImgFrame.Type.YUV420p: viewer.log_image(entity_path, cv2.cvtColor(img_frame, cv2.COLOR_BGR2RGB)) - elif frame.getType() == dai.RawImgFrame.Type.RAW16: + elif frame.getType() == dai.RawImgFrame.Type.GRAYF16: img = img_frame.view(np.float16).reshape(h, w) viewer.log_image(entity_path, img, colormap=viewer.Colormap.Magma, unit="°C") else: