Python bindings for libgphoto2
C Python Matlab
Switch branches/tags
Nothing to show
Pull request Compare This branch is 21 commits ahead of alexdu:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
mat
piggyphoto
.gitignore
README.md
autodetect.py
bulb.py
choices.py
focus-snap.py
focus.py
list-config.py
list-files.py
preview.py
setup.py
snap.py
test.py

README.md

piggyphoto

Python bindings for libgphoto2.

This is a very rough proof of concept. Feel free to play with it and add improvements.

Usage

You have to install libgphoto2. It should work with any version, from the one prepackaged in Ubuntu to the latest SVN checkout. In theory, of course :)

import piggyphoto

C = piggyphoto.Camera()
print C.abilities
C.capture_preview('preview.jpg')
C.capture_image('image.jpg')

Enjoy!