cehberlin / piggyphoto

Python bindings for libgphoto2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

Python bindings for libgphoto2


Languages

Language:C 53.7%Language:Python 45.9%Language:MATLAB 0.2%Language:M 0.1%