Skip to content

Simple python class to use digiCamControl via the single command system to control your camera inside of python.

License

Notifications You must be signed in to change notification settings

falkaabi/digiCamControlPython

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Simple python class to use digiCamControl via the single command system to control your camera inside of python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%