oftheo / ofxcanon Goto Github PK
View Code? Open in Web Editor NEWThis project forked from diederickh/ofxcanon
openFrameworks addon for the Canon EDSK
Home Page: www.roxlu.com
This project forked from diederickh/ofxcanon
openFrameworks addon for the Canon EDSK
Home Page: www.roxlu.com
ofxCanon ============== The ofxCanon addon is an implementation of the Canon SDK. The Canon SDK let you control a Canon camera. This addon has been tested with a Canon Eos 400D and 450D on a Mac and on Windows. The CanonWrapper code which you can find on the forum is not properly implemented as it does not seem to take into account that the callback is done asynchronously. I've contacted the author and still waiting on a reply :-) Though still you can use this CanonWrapper if you want to of course. With a couple of tweaks and custom constraints this wrapper works perfectly. The ofxCanon, is just another implementation, based on the same way the examples canon delivers are implemented. This code is extremely clean and makes use of design patterns which makes it easy to read. This addon implements the most basic commands which were enough for me, though it's very easy to add you own custom/new commands. By default the addon lets you take pictures which will be downloaded automatically to a folder of your choice. Note: make sure to switch the camera to the "p" option. (hardware switch) Windows + Mac Installation =========================== Add this addon and the ofxCommanPattern addon to your project! Make sure to copy the dll files into the "bin" directory. And make sure that the EDSK.lib file is in this bin directory as well! Installation Mac specific ========================= 1. Download the Canon SDK from: https://www.didp.canon-europa.com/developer/didp/didp_main.nsf 2. Make sure you've applied for a Canon Developers account, which you can do on that website. 3. Login, click on download and find the EDSDK2800CD.dmg and downlaod it 4. Extract this image and copy the files from the "EDSDK > Header" directory to your project, ./src/lib/EDSK/ 5. Add the "./" as last item to your search paths (Project > Get Info, search for "search paths" 6. Add the framework to your project. Right click on your project > Add > Add existing framework and select the ESDK.Framework directory. Repeat this for the "DPP.framework" directory. 7. Select the "DPP.framework" and "ESDK.framework" frameworks and drag and drop them on the "Targets > [your project name ] > Copy Files (#) build phase. This will copy the frameworks to their correct locations inside your app directory. 8. Also disable the "Connecting camera opens [appname]" to [no application] in the iPhoto app. (From the menu > Preferences > General tab)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.