You can take a look at the graphics.py example for using get_camera_image and Pillow to export the depth images. It will also work in headless mode without the viewer when running with --headless.
3 Likes