/edsdk-processing

Canon Camera library for the Processing programming language

Primary LanguageJavaOtherNOASSERTION

EDSDK for Processing

This library for Processing gives you full access to your Canon SLR camera via the EDSDK on Windows. The features include:

  • Taking and downloading pictures
  • Setting apperature, exposure, ISO
  • Accessing live view

This is the sourcecode of edsdk-processing. If you are just interested in the library follow these links:


Applying for SDK access

Before doing anything else you need to obtain the EDSDK native library from Canon. You can do so via their developers program:

Once you were granted access - this may take a few days - download the latest version of their library and follow the usage instructions.

Development setup

  1. Clone this repository
  2. Pull in the edsdk submodule (run git submodule foreach git pull)
  3. Download the EDSDK from Canon
  4. Copy the entire Windows\EDSDK into the project. You should end up having with the dll in edsdk-processing/EDSDK/Dlls/EDSDK.dll
  5. Import the project in eclipse
  6. Run the file src/probe/HansiTest.java
  7. To export the plugin to processing go to the resources folder and run ant.
  8. This project is not much more than a wrapper around edsdk4j. You can find some documentation here.

License

It's complicated.

  • This library itself and edsdk4j are released under the WTFPL.
  • JNA is dual licensed under the LGPL2.1/Apache 2.0
  • EDSDK itself is proprietary. If you release a modified version publicly make sure you don't include the EDSDK, as this is (afaik) not permitted by their terms.