Magic Lantern Forum

Using Magic Lantern => General Help Q&A => Topic started by: sean256 on July 11, 2018, 10:59:53 PM

Title: Before I dive into code, is it possible to have the camera control the computer?
Post by: sean256 on July 11, 2018, 10:59:53 PM
I'm part of a team which helps automate a very high volume photo studio. To assist with the volume and help images get to the proper place without our photographers having to take their hands off the camera i'd like to be able to have a button press on the camera send something to the computer it's tethered to.

Is this possible with the APIs?
Title: Re: Before I dive into code, is it possible to have the camera control the computer?
Post by: a1ex on July 14, 2018, 07:40:01 AM
Possible (e.g. with custom PTP handlers), but not implemented. There is proof of concept code available; see e.g. here (https://groups.google.com/forum/#!topic/ml-devel/Sw0B1kpFlIU), here (https://www.magiclantern.fm/forum/index.php?topic=5915.0) or here (https://www.magiclantern.fm/forum/index.php?topic=9570).

You may also need some way to identify the image currently selected in PLAY mode. That should also be possible (look at Canon's debug messages, for example), but not implemented.

Or, to identify starred or write-protected images. That might be possible by looking at the CR2/JPG files themselves.