Comments (4)
i am on vaction right now, let me get back to you by next week
from canon.eos.framework.
you are right. i behaves strange when run from an command line.
i think for the event triggering to work, it has to run on a different thread, but not sure.
I added a sample solution to the project. A lot of features missing but i will try to smooth it up during the upcoming week.
Feel free to test and report bugs. Thanks for the feedback.
from canon.eos.framework.
hi esskar!
first of all - thank you so much for all your effort that you put into this! your framework is exactly what i was looking for.
i have a question concerning the savePicturesToHost functionality:
i'm trying to capture a picture with my canon 5d mark ii and then save it to a folder. this is what i have so far:
var framework = new EosFramework();
var cameras = framework.GetCameraCollection();
foreach (var camera in cameras)
{
Console.WriteLine("Connected to {0}", camera.DeviceDescription);
try
{
camera.SavePicturesToHost("./pictures/");
camera.TakePicture();
}
catch (EosException eos)
{
Console.Error.WriteLine("Last Command Failed with error {0}, {1}", eos.EosErrorCode, eos);
Console.ReadLine();
}
}
when camera.SavePicturesToHost("./pictures/");
the folder gets created but the pictures don't appear. however the pictures i took in the previous try get stored in the root folder sometimes.
before that i tried to add an eventhandler for camera.PictureTaken
but it never got called, i also didn't get it to work with another thread. I would be glad if you could help me.
thanks again for such a great framework!
hannes
from canon.eos.framework.
yes, i have noticed that my self. but it only happens if you run this from the command line.
the EDSDK seems to use a strange threading model or depends on running in an own thread: i have to figure that out.
but it should work when running from a WinForms or WPF application
from canon.eos.framework.
Related Issues (19)
- NullreferenceException in EnsureOpenSession HOT 11
- could not take picture because Auto Focus Failed HOT 6
- EosSavePicturesToHost Issue HOT 7
- Issue with stopping the live view HOT 12
- EosException Device Busy HOT 4
- Storagetype
- anybody have a problem when use Canon.Eos.Framework in windows 7 HOT 4
- SDK version HOT 2
- Camera does work only one time
- License
- I can't run this project HOT 1
- Architecture question HOT 13
- Issue in EosImageTransporter.cs HOT 2
- Support for Type 1 cameras HOT 15
- Compilation errors HOT 2
- Internal\EosImageTransporter.cs
- missing Eventing\EosExceptionEventArgs.cs HOT 2
- live view not working HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canon.eos.framework.