Raspberry Pi Zero(W)
sudo apt-get install libv4l-0 sudo apt-get install fswebcam
fswebcam -p YUYV -S 5 -r 240x160 output.jpg