Simple still image capture tool for UVC camera.
$ sudo usermod -aG video username
$ sudo apt-get install v4l-utils python-opencv python-dev
$ wget https://raw.githubusercontent.com/yoggy/capture_uvc.py/master/capture_uvc.py
$ chmod +x capture_uvc.py
UVC camera parameter settings...
$ v4l2-ctl --device=/dev/video0 --list-formats-ext
$ v4l2-ctl --device=/dev/video0 -c exposure_auto=1,exposure_auto_priority=0,exposure_absolute=160
Capture still image.
$ ./capture_uvc.py 1920x1080 capture.png
Copyright (c) 2016 yoggy
Released under the MIT license