Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - waspinator

#1
Scripting Q&A / burst mode with manual trigger?
July 18, 2013, 03:17:41 PM
Hi,

When using my camera (Canon 60D) manually, I can take multiple pictures by depressing the shutter button every 0.3 - 0.5 seconds, and there is no delay in taking pictures. This isn't the same as just holding down the shutter though and getting the maximum frame rate possible, as I can wait a little longer before taking the next shot if I want to. Now I want to write a script running on my computer to do this for me, but also have it run some other code (language doesn't matter too much. ex. BASH, C, python, lua, ...) between shots.

So for example I would like to script something like this:

----------------

takepic();               # there should be no delay (<10ms) between taking the picture and the echo
#or maybe this?
click(SHOOT_FULL);
echo just took picture 1!
sleep(0.2);            # this should take ~200ms

takepic();              # there should be no delay (<10ms) between taking the picture and the echo
#or maybe this?
click(SHOOT_FULL);
echo just took picture 2!
sleep(0.2);            # this should take ~200ms

takepic();              # there should be no delay (<10ms) between taking the picture and the echo
#or maybe this?
click(SHOOT_FULL);
echo just took picture 3!

downloadpics();    # is there a way to download pictures off of the camera to a computer after taking them?


-------------------

is there any way I can do this with ML or any other tool?
#2
Hi,

When using my camera (Canon 60D) manually, I can take multiple pictures by depressing the shutter button every 0.3 - 0.5 seconds, and the camera doesn't seem to write to memory until I finished taking pictures. Taking as-fast-as-possible bursts shots isn't what I need either though, since I need to run other code between each capture.

So for example I would like to script something like this:

----------------

ML --some-option-to-set-up-camera-communication-and-get-it-ready-for-photo-taking (this can take a long time)

ML --capture-image --some-option-to-tell-it-not-to-write-the-file-yet (this shouldn't take longer than a few ms)
echo just took picture 1!
sleep 0.2

ML --capture-image --some-option-to-tell-it-not-to-write-the-file-yet (this shouldn't take longer than a few ms)
echo just took picture 2!
sleep 0.2

ML --capture-image --some-option-to-tell-it-not-to-write-the-file-yet (this shouldn't take longer than a few ms)
echo just took picture 3!

ML --some-option-to-end-the-capture-session-and-write-files-to-the-computer (this can take a long time)

-------------------

is there any way I can do this with ML or any other tool?
#3
General Help Q&A / PTP control?
May 12, 2013, 05:03:14 PM
Hi,

I've been using CHDK and the chdkptp client to control my cameras using a computer. Specifically I use it to change shooting modes and settings, take photos, and download them to my computer before deleting them on the camera's card.

Is there anything like that available for ML?

chdk: http://chdk.wikia.com/wiki/CHDK
ptp: http://chdk.wikia.com/wiki/PTP_Extension
chdkptp: https://www.assembla.com/spaces/chdkptp/wiki/bFfcHmwmKr4i4TeJe5cbLr