Code Monkey home page Code Monkey logo

ofxcanon's Introduction

ofxCanon

An openFrameworks addon for interfacing with Canon DSLR cameras.

exampleLiveView

Features

  • Photo taking
    • Blocking or Async (using C++11 std::future)
    • 8bit and 16bit
  • Live view capture
  • ISO / Aperture / Shutter speed settings (+ ofParameter support)
  • Lens information (+ events when lens is changed)
  • Stricter threading model
    • Ability to call functions in different threads 'remotely' without instruction queues.
    • std::future for async photo capture
    • Use it directly with your own threads, or use the Simple class to manage threads for you
  • Backwards compatability with ofxEdsdk::Camera

Requirements

## Tested

This addon is tested with:

2016.11.04

Commit #6b1b18b

IDE / Platform EDSDK v. Camera Machine Success
VS2015 3.5.0 EOS100D x86, x64 YES
VS2015 3.5.0 EOS550D x86, x64 YES
XCode 3.5.0 EOS100D x86, x64 YES
XCode 3.5.0 EOS550D x86, x64 YES

Usage

  1. Download the necessary libs from Canon (check the libs/context_??.txt file for your platform to see what files you need where)

XCode

  1. Use the Project Generator to add ofxCanon to a new or existing project
  2. Set your macOS Deployment target to be 10.8 or later

Optional : For 32-bit builds you can add the DPP.framework to your project if you want to use the EDSDK (rather than FreeImage) to develop RAW images and recover metadata from images. Note : if you don't definitely know you that need this then don't worry about it.

Visual Studio

Check instructions from ofxAddonLib.

ofxEdsdk compatability

This addon carries on from ofxEdsdk adding some features (although some may be missing).

Compatability with ofxEdsdk is provided by the ofxCanon::Simple class which has the same interface as ofxEdsdk::Camera (i.e. all the method names are the same and it should act as a drop-in replacement if you need it).

Some users of ofxEdsdk (myself included) have experienced issues with ofxEdsdk, and this addon is intended as a way to circumvent those issues. However, if ofxEdsdk is working well for you, then great! I'd suggest to stick with it and come back if you encounter an issue :).

ofxcanon's People

Contributors

elliotwoods avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.