The kite pilot at Pointe de la Crêche had a shoreline to cover and a line to mind. About twenty metres down the line from the kite hung a compact camera, lens pointing at the rocks. Every five seconds it took a photograph. Nobody on the beach had to aim a remote or even look up to release the shutter. A little program on the camera’s memory card did that job. For anyone with an old Canon PowerShot in a drawer, the survey doubles as an introduction to CHDK, the open-source Canon Hack Development Kit. [1][2]
A program that travels with the camera
CHDK loads from an SD card and runs in the camera’s working memory alongside Canon’s firmware. Powering down clears the running add-on. While it is running, a script can operate controls a photographer would otherwise have to reach with a finger. The Lua reference includes shoot() to take a picture, sleep() to wait and get_tick_count() to read a clock in milliseconds. There is a small but consequential choice in those last two functions. Waiting five seconds after each shot adds the time spent taking it to every interval. Timing from the start of one exposure to the intended start of the next gives the photographer a way to keep a steadier beat, provided the camera finishes each shot in time. [2][3]
To see what a camera owner can change, consider Trackuino’s intervalometer, a separate flight-photography script tested on a PowerShot A570 IS. Its author put the decisions a pilot might want to revisit in a menu. The camera can alternate stills with video. In stills-only mode it can acquire focus once and lock it, sparing the lens a fresh search when a swinging camera faces a patch of blank sky. The script lives in the card’s CHDK/SCRIPTS directory. Two owners of the same model can give their cameras quite different assignments by changing that file or its settings. [4]
Five seconds measured along the shore
Pauly and De Clerck wanted to map beds of seaweed between Boulogne-sur-Mer and Wimereux. The coast offered a brief working surface at low tide, with algae growing along the edges of rock platforms. On the first survey, in April 2010, a PowerShot SX200 IS recorded ordinary colour photographs. The pilot could walk the coast while the intervalometer ran. That made walking speed a photographic decision. Cover more ground between shutter releases and successive views share less of the same rock. Fly higher and each frame takes in a wider strip, at the cost of detail on the ground. [1]
A five-second interval also says nothing about how long the shutter stays open. For their moving rig the researchers called for an exposure of 1/500 second or faster to keep the image sharp. Back on land they looked for three things together in the photographs. They wanted sharp detail, a view close to straight down and enough common ground to join one frame to another. They selected fourteen images from the 2010 flight and aligned them by hand. A sharp shot of an isolated rock could still be useless if there was no way to place it beside its neighbour. [1]
On their return the following April, the team took a second series with a camera modified to record near-infrared light. They also walked measured strips of shore, drawing the boundaries of habitats they could identify at their feet. Those drawings gave them a way to test what they thought they saw in the aerial mosaics. It is an appealing measure of what a few lines of code accomplished on that beach. The camera could be trusted with the next shutter release. To learn which seaweed grew where, someone still had to go down to the rocks. [1]
Sources
- Klaas Pauly and Olivier De Clerck, “Low-cost very high resolution intertidal vegetation monitoring enabled by near-infrared kite aerial photography,” chapter 7, especially pp. 172–176 and figure 1.
- Hank Dietz, University of Kentucky, “CHDK for Computational Photography,” on how the add-on runs inside a PowerShot.
- CHDK Lua scripting reference card, including shooting, delay and clock functions.
- Trackuino, CHDK intervalometer documentation, including the tested camera, shooting modes and focus settings.