How to obtain the camera image on the robot

There is a camera on ‘jetbot’ called ‘jetbot_camera’. How to use code to obtain the image of this camera?