# setup: http://www.raspberrypi.org/help/camera-module-setup/ sudo apt-get install python-picamera vcgencmd version vcgencmd get_camera # camera commands: # http://www.raspberrypi.org/documentation/usage/camera/raspicam/README.md # raspistill: # http://www.raspberrypi.org/documentation/usage/camera/raspicam/raspistill.md raspistill -o click.jpg # raspivid: # http://www.raspberrypi.org/documentation/usage/camera/raspicam/raspivid.md # default 5 seconds, use -t to customize raspivid -o vid.h264 # picamera docs: http://www.raspberrypi.org/documentation/usage/camera/python/README.md http://picamera.readthedocs.org/en/latest/api.html