visualize_devices(devices, save_dir='')[source]#

Visualizes all the devices in a cv2 window. Press ‘q’ or ‘esc’ on any of the windows to exit the infinite loop. Press the ‘s’ key in a specific window to save the color and depth image to disk. You can use a similar loop interface in other places where you need a live camera feed (e.g. collecting demonstrations).

Return type: