camera from usb pi 3 code example
Example: camera from usb pi 3
sudo apt install fswebcam
#add user to video group
sudo usermod -a -G video <username>
#check if you are added in video group
groups
#make a picture
fswebcam -r 1280x720 --no-banner image.jpg