Skip to content

Commit f1cb2a8

Browse files
committed
fix BGR format image bug
1 parent 57a7a9f commit f1cb2a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

depth_test/depthtest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def get_frame(self):
355355

356356
if colorMode == QtGui.QImage.Format_RGB888:
357357
depth_frame_color = cv2.cvtColor(depth_frame_color, cv2.COLOR_BGR2RGB)
358-
return depth_frame_color, depth_frame
358+
return depth_frame_color, depth_frame
359359

360360
def get_resolution(self):
361361
return self.resolution

0 commit comments

Comments
 (0)