Webcam Interface On Raspberry Pi

                        Raspberry PI persists in its pride stage due to its relevance in performing image processing applications. Real time image processing schemes can be developed using a Raspberry Pi, as it supports the webcam interface, and there by we can process the algorithms for detection, recognition, segmentation, surveillance etc.


Hardware Modules:
  1. Raspberry Pi
  2. USB Webcam
Additional Software Packages:
  1. fswebcam package
The webcam should be connected to the USB port of the Raspberry Pi. after connecting open the LX Terminal and type inlsusb.


If the camera is detected then a message will be displayed, as shown in the image above (marked in red). Now install fswebcamto start using the camera. To install the fswebcam software package, type in as follows:

sudo apt-get install fswebcam


 After the installation enter the command fswebcam followed with a desired file name for saving the image.

fswebcam testimage.jpg


  For selecting a proper resolution follow the commands given below:

fswebcam -r 640x480 testimage.jpg

  The camera will capture the snapshot and it will be saved in the main folder using the preferred name.
  
Interfacing RaspBerry Pi

Comments

Popular posts from this blog

K-Rotate

Smart Monitoring System

Ultrasonic Distance Measurement Using raspberry pi