Canon Community Canon Community
 


Reply
New Contributor
Posts: 2
Registered: ‎10-02-2019

connection Canon camera to my script

I want to take picture in Python using Canon camera,

can I connect my camera to my computer and use it from my script?

Esteemed Contributor
Posts: 3,466
Registered: ‎02-17-2016

Re: connection Canon camera to my script

What computer? The Mac version *might* be AppleScriptable.

I am afraid you are way beyond us. You might look into the SDK to do what you want.

Respected Contributor
Posts: 1,080
Registered: ‎11-19-2017

Re: connection Canon camera to my script

[ Edited ]

Not enough information here....   Your "My Script".  How could anyone know what this is?

 

While there are some coding resources available, and others like yourself who experiment, your vague description gives us little to no information.  Sorry. 

Rick
Bay Area - CA
~6D2 (f/w 1.0.4) ~16-35mm f2.8L II, 50 f1.8 STM, 85 prime USM, 70-200 f2.8L IS II ~70-300 USM II ~Sigma 24-70 f2.8 Art (f/w 2.02)
~Sigma 150-600 C + TC1401 1.4x (f/w 2.00) ~Speedlite 430 EX II ~DxO PhotoLab Elite ~Windows10 Pro1903 ~EVGA RTX 2080 FTW3 Ultra
New Contributor
Posts: 2
Registered: ‎10-02-2019

Re: connection Canon camera to my script

I wrote script in Python which activates webcam and take picture for the code,

I want to change the webcam to Canon camera but, the code didnt recognize the device as a camera so I can't use it.

I want to know if the camera has option to contact to a python code like webcam."

Moderator
Posts: 1,421
Registered: ‎10-25-2012

Re: connection Canon camera to my script

Hi, tamar20!

 

Welcome to the Canon Community! What you're looking for is the Software Developer's Kit, or SDK. It's only available for certain camera models. If you're in the USA, you'll find more information on the following site: https://www.developersupport.canon.com/

 

If you're outside of the United States, you'll want to reach out to Canon in your country/region for any software developer resources that might be available. Click HERE to find contact information for Canon globally. 

 

We hope this helps point you in the right direction!

Occasional Contributor
Posts: 12
Registered: ‎02-19-2019

Re: connection Canon camera to my script


@tamar20 wrote:

I want to take picture in Python using Canon camera,

can I connect my camera to my computer and use it from my script?


Apparently, you would be better off asking the question in another forum.

Yesterday I have posted a link to a well known library/utility used to control cameras over USB, but the post was deleted.

Another option would be to go on github and search for ‘gphoto python’

powered by Lithium

LIKE US on Facebook FOLLOW US on Twitter WATCH US on YouTube CONNECT WITH US on Linkedin WATCH US on Vimeo FOLLOW US on Instagram SHOP CANON at the Canon Online Store
© Canon U.S.A., Inc.   |    Terms of Use   |    Privacy Statement