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:
- Project website http://asdfg.me/up/edsdk-processing
- JavaDoc http://asdfg.me/up/edsdk-processing/reference/index.html
- Snippets library http://asdfg.me/up/edsdk-processing/snippets
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.
- Clone this repository
- Pull in the edsdk submodule (run
git submodule foreach git pull
) - Download the EDSDK from Canon
- Copy the entire
Windows\EDSDK
into the project. You should end up having with the dll inedsdk-processing/EDSDK/Dlls/EDSDK.dll
- Import the project in eclipse
- Run the file
src/probe/HansiTest.java
- To export the plugin to processing go to the
resources
folder and runant
. - This project is not much more than a wrapper around edsdk4j. You can find some documentation here.
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.