NOTE:The quality and configurability of the camera module far exceed that of a standard USB webcam.
sudo apt install fswebcam
sudo usermod -a -G video <username>
Basic Usage
Enter the fswebcam command followed by the filename to take a photo with the webcam and save it to the specified filename:
fswebcam image.jpg
--- Opening /dev/video0...Trying source module v4l2.../dev/video0 opened.No input was specified, using the first.Adjusting resolution from 384x288 to 352x288.--- Capturing frame...Corrupt JPEG data: 2 extraneous bytes before marker 0xd4Captured frame in 0.00 seconds.--- Processing captured image...Writing JPEG image to 'image.jpg'.

fswebcam -r 1280x720 image2.jpg
--- Opening /dev/video0...Trying source module v4l2.../dev/video0 opened.No input was specified, using the first.--- Capturing frame...Corrupt JPEG data: 1 extraneous bytes before marker 0xd5Captured frame in 0.00 seconds.--- Processing captured image...Writing JPEG image to 'image2.jpg'.

Remove Banner
fswebcam -r 1280x720 --no-banner image3.jpg
--- Opening /dev/video0...Trying source module v4l2.../dev/video0 opened.No input was specified, using the first.--- Capturing frame...Corrupt JPEG data: 2 extraneous bytes before marker 0xd6Captured frame in 0.00 seconds.--- Processing captured image...Disabling banner.Writing JPEG image to 'image3.jpg'.
