jiloc / edsdk-python Goto Github PK
View Code? Open in Web Editor NEWCanon EDSDK wrapper for Python
License: MIT License
Canon EDSDK wrapper for Python
License: MIT License
Traceback (most recent call last):
File "C:\Users\33Lab\Documents\Dev\Graduation_project\edsdk-python\examples\save_image.py", line 5, in
import edsdk
File "C:\Users\33Lab\Documents\Dev\Graduation_project\edsdk-python\edsdk_init_.py", line 1, in
from edsdk.api import *
ModuleNotFoundError: No module named 'edsdk.api'
Process finished with exit code 1
I developed a software that takes photos regularly with Python. I did all the steps in your descriptions. The program works smoothly. But in rare cases "edsdk.SendCommand(cam, CameraCommand.TakePicture, 0)" stops the project running while this command is executed. For example, if the command to take 200 photos per day is given, the program will crash once or twice and must be restarted.
What could be the reason and how can I solve it?
Thank you for your edsdk-python code.
I am trying this "save_image.py"
There are two problem.
(1) 'PropertyEvent' is not defined
def callback_property(event: PropertyEvent, property_id: PropID, parameter: int) -> int:
NameError: name 'PropertyEvent' is not defined
(2) result is None, None
is it right?
Computer is connected to the EOS Canon camera with USB.
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.