• Stars
    star
    147
  • Rank 251,347 (Top 5 %)
  • Language
    C
  • Created about 14 years ago
  • Updated over 13 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Python bindings for libgphoto2

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!