jim-easterbrook / python-gphoto2

Python interface to libgphoto2
GNU Lesser General Public License v3.0
362 stars 59 forks source link

How to get camera object with a particular model name #57

Closed rahulgautam closed 5 years ago

rahulgautam commented 6 years ago

For me, gphoto2 is not able to identify my camera until I pass the camera model as a parameter

gphoto2 --camera "Canon EOS 1300D" --summary

How can I pass camera model "Canon EOS 1300D" while getting context or camera object from gphoto2?

jim-easterbrook commented 6 years ago

Does the choose-camera.py example work for you? If not, you might have to look through the source of the gphoto command line program to see how it's using the --camera option.