kylemcdonald / ofxEdsdk

Interfacing with Canon cameras from openFrameworks for OSX. An alternative to ofxCanon and CanonCameraWrapper.
Other
112 stars 51 forks source link

ofxEdsdk

ofxEdsdk requires the EDSDK library from Canon.

ofxEdsdk was developed with support from YCAM http://www.ycam.jp/

Installation/Usage

  1. Apply for a developer's license from Canon's website
  2. After you have been approved (can take anywhere from minutes to a day or two), follow the download instructions included in your confirmation email from Canon.
  3. Clone this repo, or download this repo as a zip file, unzip, and place contents in your addons folder. If downloading, edit the folder name so that it only says "ofxEdsdk".
  4. Open the Canon EDSDK .dmg image.
  5. Copy the EDSDK/Header/EDSK*.h files into the directory openFrameworks/addons/ofxEdsdk/libs/include/
  6. Copy the EDSDK/Framework/*.framework files into the directory openFrameworks/addons/ofxEdsdk/libs/lib/
  7. Open the OF Project Generator application and build a new app, including the ofxEdsdk addon.
  8. In the new project, go to the project Build Settings and add ../../../addons/ofxEdsdk/libs/EDSDK/lib to Framework Search Paths.

Following these steps will include Canon's developer library and this wrapper for all its functions for use in OF. You should be able to run the blank project successfully.

ofxEdsdk is tested with Canon SDK 3.6, on macOS 10.11-10.13 and Windows 8.1 with openFrameworks 0.9.2 and up.