Skip to content

raspberry pi

  • check camera
    vcgencmd get_camera
    
sudo apt update && sudo apt upgrade -y
sudo rpi-update
sudo modprobe bcm2835-v4l2

raspistill

  • Take a pic
raspistill -o <name>.jpg

fswebcam

  • Take a pic
fswebcam -r 1280x720 --no-banner name.jpg

Ref

https://www.raspberrypi.org/forums/viewtopic.php?t=194311

Using a standard USB webcam
https://www.raspberrypi.org/documentation/usage/webcams/