The Raspberry Pi professional camera module can be used to take high-definition video, as well as stills photographs. It’s easy to use for beginners, but has plenty to offer advanced users if you’re looking to expand your knowledge. There are lots of examples online of people using it for time-lapse , slow-motion and other video cleverness. You can also use the libraries we bundle with the camera to create effects.
If you’re interested in the nitty-gritty, you’ll want to know that the module has a five megapixel fixed-focus camera that supports 1080p30, 720p60 and VGA90 video modes, as well as stills capture. It attaches via a 15cm ribbon cable to the CSI port on the Raspberry Pi. It can be accessed through the MMAL and V4L APIs, and there are numerous third-party libraries built for it, including the Picamera Python library.
The camera module is very popular in home security applications, and in wildlife camera traps.
You can also use it to take snapshots.
For this listing , it have three version :
Camera Module Only Version
Camera Module + 1W 850 IR LED Version
Camera Module + 1W LED Version
How to enable camera support in Raspbian
Boot up the Pi and log in. The default username is pi, and the default password is raspberry. (Note: if you have changed these from the default then you will need to supply your own user/password details).
Run the following commands in a terminal to upgrade the Raspberry Pi firmware to the latest version:
sudo apt-get update
sudo apt-get upgrade
Access the configuration settings for the Pi by running the following command:
Navigate to “camera” and select “enable”.
Select “Finish” and reboot.
How to use the Raspberry Pi camera software
raspivid is a command line application that allows you to capture video with the camera module, while the applicationraspistill allows you to capture images.
-o or –output specifies the output filename and -t or –timeout specifies the amount of time that the preview will be displayed in milliseconds. Note that this set to 5s by default and that raspistill will capture the final frame of the preview period.
-d or –demo runs the demo mode that will cycle through the various image effects that are available.
Capture an image in jpeg format:
raspistill -o image.jpg
Capture a 5s video in h264 format:
raspivid -o video.h264
Capture a 10s video:
raspivid -o video.h264 -t 10000
Capture a 10s video in demo mode:
raspivid -o video.h264 -t 10000 -d