Hi, I’m having difficulty using multiple cameras,
in gphoto, you can specify the port when accessing the camera:
pi@raspberrypi:~/capture/examples $ gphoto2 --auto-detect
Model Port
Canon EOS 1100D usb:001,016
Canon EOS 1100D usb:001,015
gphoto2 --port=usb:001,015 --capture-image-and-download --filename=cam001
New file is in location /capt0000.jpg on the camera
Saving file as cam001
Deleting file /capt0000.jpg on the camera
Question! :
import gphoto2 as gp
cameras = gp.check_result(gp.gp_camera_autodetect())
for name, value in cameras:
... print(name," --- ",value)
...
Canon EOS 1100D --- usb:001,016
Canon EOS 1100D --- usb:001,015
How can I initialize each camera in different objects to work with them?
Hi, I’m having difficulty using multiple cameras, in gphoto, you can specify the port when accessing the camera:
pi@raspberrypi:~/capture/examples $ gphoto2 --auto-detect Model Port
Canon EOS 1100D usb:001,016 Canon EOS 1100D usb:001,015
gphoto2 --port=usb:001,015 --capture-image-and-download --filename=cam001 New file is in location /capt0000.jpg on the camera Saving file as cam001 Deleting file /capt0000.jpg on the camera
Question! :
How can I initialize each camera in different objects to work with them?