diff --git a/examples/Python/ReconstructionSystem/sensors/realsense_pcd_visualizer.py b/examples/Python/ReconstructionSystem/sensors/realsense_pcd_visualizer.py index 0b2ffc61c6bf..0aff6b02b830 100644 --- a/examples/Python/ReconstructionSystem/sensors/realsense_pcd_visualizer.py +++ b/examples/Python/ReconstructionSystem/sensors/realsense_pcd_visualizer.py @@ -33,7 +33,7 @@ def get_intrinsic_matrix(frame): config = rs.config() config.enable_stream(rs.stream.depth, 1280, 720, rs.format.z16, 30) - config.enable_stream(rs.stream.color, 640, 480, rs.format.bgr8, 30) + config.enable_stream(rs.stream.color, 640, 480, rs.format.rgb8, 30) # Start streaming profile = pipeline.start(config) diff --git a/examples/Python/ReconstructionSystem/sensors/realsense_recorder.py b/examples/Python/ReconstructionSystem/sensors/realsense_recorder.py index c7d98d76a0aa..ef1ec643ed35 100644 --- a/examples/Python/ReconstructionSystem/sensors/realsense_recorder.py +++ b/examples/Python/ReconstructionSystem/sensors/realsense_recorder.py @@ -87,7 +87,7 @@ def save_intrinsic_as_json(filename, frame): if args.record_rosbag: # note: using 640 x 480 depth resolution produces smooth depth boundaries config.enable_stream(rs.stream.depth, 1280, 720, rs.format.z16, 30) - config.enable_stream(rs.stream.color, 640, 480, rs.format.bgr8, 30) + config.enable_stream(rs.stream.color, 640, 480, rs.format.rgb8, 30) config.enable_record_to_file(path_bag) if args.playback_rosbag: config.enable_device_from_file(path_bag, repeat_playback = True)