Web cam and Raspberry Pi

By | November 19, 2013
Logitech HD Webcam C270

Logitech HD Webcam C270

Connecting my Creative webcam to raspberry pi was much easier than I thought. Here are the 10 easy steps that I followed

  1. Connected my webcam to one of the free USB ports on the Pi
  2. Made sure webcam has been detected correctly by issuing the command,
  3. ls -l /dev/video*
  4. If you see /dev/video0 in the next line, you are good to go
  5. Next, issue the following command
  6. sudo apt-get install fswebcam
  7. To take your first picture, issue the command
  8. fswebcam -d /dev/video0 -r 640x480 test.jpeg
  9. Initially you may get an error ‘gd-jpeg: JPEG library reports unrecoverable error: Not a JPEG file: starts with 0xff 0×80′ . Ignore that, and try it again, and it will work
  10. If you want to record a movie out of it, check the link – http://www.makeuseof.com/tag/how-to-capture-time-lapse-photography-with-your-raspberry-pi-and-dslr-or-usb-webcam/

 

Leave a Reply