Saturday, October 3, 2015

Python on Raspberry Pi to control DSLR with python-piggyphoto and libgphoto2

This post show how to control DSLR (Nikon D7000) with Raspberry Pi 2 (running Raspbian Jessie), using Python 2, with libgphoto2 and piggyphoto. The camera connect to Raspberry Pi via USB.

piggyphoto is a Python bindings for libgphoto2. You have to install libgphoto2.

To install piggyphoto for Python 2, enter the command:
$ sudo apt-get install python-piggyphoto

Try in Python 2:
import piggyphoto

C =
print C.abilities


No comments: