21 lines
650 B
Text
21 lines
650 B
Text
# 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 <msecs> 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
|