Webcam

From Leo's Notes
Revision as of 07:16, 23 March 2015 by 10.1.1.3 (talk) (Created page with " == Linux == To get a webcam working for Linux, ensure that it's supported. Newer webcams tend to have support though cheaper non-HD webcams from China might not. You should s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page was last edited on 23 March 2015, at 07:16.

Linux

To get a webcam working for Linux, ensure that it's supported. Newer webcams tend to have support though cheaper non-HD webcams from China might not. You should see a /dev/videoS0 device when the webcam is plugged into the computer. If not, check dmesg and see if the USB device is being detected. lsusb should also list it.

To capture images, use any one of the following utilities:

  • fswebcam
  • uvccapture

fswebcam

fswebcam -r 640x480 --jpeg 85 -D 1 web-cam-shot.jpg

uvccapture