Giter Club home page Giter Club logo

edsdk-wrapper's Introduction

Hi there! My name is Jossef Harush Kadouri.

  • Founder of the cybersecurity startups zeronetworks.com and dusti.co
  • I (git) merged my wife's family name with mine, hence "Harush Kadouri"
  • Ranked in the top 1% on Stack Overflow
  • Passionate about hacking stuff, operating systems, and building computers
  • Graphic designer with OCD for pixel-perfect UI
  • Riding motorcycles (Ducati FTW!)
  • Growing hot peppers and organizing events in Israel

Feel free to contact me at [email protected]

edsdk-wrapper's People

Contributors

gitter-badger avatar jossef avatar tak3r avatar thrixton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

edsdk-wrapper's Issues

Thread Error when called TakePhoto

Hello!

I used your wrapper with Canon EOS 7D in WPF Application.
I successfully used LiveView functions, but i have a strange problem with TakePhoto function.
If i do as in your Example (call TakePhoto in button click handler) than all OK.
But in my App i used some functions after, like this:

CameraHandler.TakePhoto();
UpdateState();
etc...

In this case TakePhoto suspend in limitless loop somewhere in STAThread as far as I understand. How i should use this function?

pInvoke Stack Imbalance (Win10?) (CallingConvention?)

EDSDK from Canon: 2.15 (nov 2014)
Canon T2i
Dell i7 laptop, Win10x64

As downloaded: Camera.cs - Lines 701, 706 throw PInvokeStackImbalance exceptions.

EDSDKInvokes.CreateEvfImageRef
EDSDKInvokes.DownloadEvfImage

Details on both say The name '$exception' does not exist in the current context.
The other calls in EDSDKInvokes to NOT throw this exception and seem to work as the live preview frames do arrive and display.

Running without debugging shows the frame still arrives and is visible in the sample EDSKDWrapper.UI project MainView.xaml window.

Eventually however even this fails with

... has stopped working."  Attaching the debugger then shows "Unhandled exception at 0x72DB3AA2 (clr.dll) in EDSDKWrapper.UI.exe: Stack cookie instrumentation code detected a stack-based buffer overrun.

I am running Windows 10 tech preview, so maybe that has something to do with it but so far everything that works in Win8.1 is same in Win10.

These seem to be the only calls in that file that are specifying CallingConvention
If I remove that argument it seems to run fine and not throw the error:

        //[DllImport("EDSDK.dll", EntryPoint = "EdsCreateEvfImageRef", CallingConvention = CallingConvention.Cdecl)]
        [DllImport("EDSDK.dll", EntryPoint = "EdsCreateEvfImageRef")]
...
        //[DllImport("EDSDK.dll", EntryPoint = "EdsDownloadEvfImage", CallingConvention = CallingConvention.Cdecl)]
                [DllImport("EDSDK.dll", EntryPoint = "EdsDownloadEvfImage")]

ReturnValueManager.cs | Line 53 | HandleFunctinReturnValue
Continuously throws exception ObjectNotReady- yet the frames are coming up pretty fast and at decent resolution for the last 20 minutes without crash.

Can't open files downloaded to PC

Either .cr2 or .jpg files downloaded to a PC can't be opened. Using v2132W of the canon SDK and 1.1.1.0 of the wrapper with a Canon 6D.

Documentation of this edsdk wrapper

I have browsed through the zip file and can not see any documentation of the wrapper classes or any samples of how it is used. is it possible that you set out some samples or documentation for evaluating the wrapper.

ThorPets

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.