Capturing images from a camera in Python: easy, reliable, cross-platform
Question: What is the most suitable way to capture a still image from Python and convert
to a PIL image?

Google gives me numerous ways with OpenCV and lesser-known libraries. I want
an easy, reliable, mature, cross-platform library for this purpose. And with
minimal dependencies and extra packages.

* * *

If possible, it must also support [displaying live
images](http://stackoverflow.com/questions/3596960/any-quick-python-gui-to-
display-live-images-from-camera) with major windowing toolkits, although the
performance (frame rate, clarity) is not important.


Answer: I use gphoto2 and with subprocess. But it should be possible to access this
library from ctypes, if you prefer this.

