Now that my Raspberry pi Camera is ready (see the hardware setup here) there are another 5 steps to follow in order to let the Pi Camera function:
- Boot Raspberry Pi and Log in
- Update Raspbian
sudo apt-get update
- Upgrade the firmware
sudo apt-get upgrade
- Enable the camera by accessing the configuration setting
sudo raspi-configand select Enable. Reboot.
- Take photos and videos!
raspistill -o image.jpg
raspivid -o video.h264
More examples here: Pi Camera Setup
Opps, I forgot to remove the translucent blue plastic film covering the lens.
I used FTP to transfer the files over to my laptop. Yay! Now I can use it as a security camera for my hall room 😡
To see a list of possible options for running raspivid or raspistill, you can run:
raspivid | less
raspistill | less
Use the arrow keys to scroll and type q to exit.
Here are the options:
Exposure mode options :
AWB mode options :
Image Effect mode options :
Metering Mode options :
Preview parameter commands
-gs, –glscene : GL scene square,teapot,mirror,yuv,sobel
-gw, –glwin : GL window settings <‘x,y,w,h’>
This is quite cool!! I tried the video as well but it is in h264 format.
I haven’t found a software to play it on my laptop yet. Let’s use VLC media player to play the video file transfer to the laptop! 🙂
Next up, streaming the live images using Window!