Convert .bag file to images using pyrealsense2 Before execution, make sure pyrealsense2 is installed. To save all frames recorded in bag file, # in terminal mkdir image sudo chmod 666 -R ./image # edit 6,7,8 for path python3 bag_to_img.py