Skip to Content

Submit your nominations for the Luxist Awards' Best in Decor
AOL Tech

Filed under: Multimedia, How-tos, Freeware, Macbook Pro

Timelapse of iSight wakeup captures


A few months back, we wrote about reader Dylan's iSight autocapture project-- he rigged up the code to have his iSight on his MacBook Pro snap a photo every time the lid was opened (and even released all of his work as open source). At the time, he mentioned eventually combining all of the photos together into a timelapse video, and seven months later, here it is.

Unfortunately, he says the Sleepwatcher daemon he was using doesn't work as of 10.4.10, so the project is over until it gets updated, if ever. But he did share with us how he compiled the images together into a timelapse-- he punched out a Perl script (which is reprinted after the jump) to rename all of the pictures into sequenced filenames, and then squished them together with Quicktime's "image sequence" feature. Very nice.


#!/usr/bin/perl

$iteration=1;

foreach my $file (`ls *.jpg`) {
chop($file);
system("cp $file sequence/$iteration.jpg;");
$iteration++;
}
jobs & resumes
Lead Blogger

AOL Find a Job - New York, NY (4 weeks ago)

See More Relevant Jobs ›

Reader Comments (Page 1 of 2)

Tip of the Day

Use Spotlight as a reference tool. Type any word in the Spotlight box and one of the top entries will be a definition. Click on it, and it will bring up the dictionary application to check the word in either the dictionary, thesaurus, Apple database, or Wikipedia.


Follow us on Twitter!
 TUAW [Cafepress]

Featured Galleries

DNC Macs
Macworld 2008 Keynote
Macworld 2008 Build-up
Google Earth for iPhone
Podcaster
Storyist 2.0
AT&T Navigator Road Test
Bento for iPhone 1.0
Scrabble for iPhone
Tom Bihn Checkpoint Flyer Briefcase
Apple Vanity Plates
Apple booth Macworld 07
WorldVoice Radio
Quickoffice for iPhone 1.1.1
Daylite 3.9 Review
DiscPainter
Mariner Calc for iPhone
2009CupertinoBus
Crash Bandicoot Nitro Kart 3D
MLB.com At Bat 2009
Macworld Expo 2007 show floor

 

More Apple Analysis

AOL Radio TUAW on Stitcher