Skip to content

Files

Latest commit

 Cannot retrieve latest commit at this time.

History

History
35 lines (22 loc) · 965 Bytes

README.md

File metadata and controls

35 lines (22 loc) · 965 Bytes

digiCamControlPython

Simple python class to use digiCamControl via the single command system to control your camera. Digicamcontrol needs to be installed and running. Compatible cameras can be found here.

Example code:

# Setup
import digiCamControlPython as dccp
camera = dccp.Camera()

camera.setIso(100)
>>> Set the Iso to 100

camera.getShutterspeed()
>>> Current shutterspeed: 1/125

camera.listCompression()
>>> List of all possible compressionsettings: ['JPEG (BASIC)', 'JPEG (NORMAL)', 'JPEG (FINE)', 'RAW', 'RAW + JPEG (BASIC)', 'RAW + JPEG (NORMAL)', 'RAW + JPEG (FINE)']

camera.setAutofocus("off")
>>> Autofocus is off.

camera.setTransfer("Save_to_PC_only")

camera.setFolder(r"C:\Images\")
>>> Set the session.folder to C:\Images\

camera.capture()
>>> Captured image.
>>> Current lastcaptured: Image1.jpg