Thursday, April 2, 2009

XO bean sprouts



got a webcam program running, pointing at our bean sprouts.

using:
fswebcam-20070108-1.i386.rpm
manually extracted onto a usb key;

did need to also extract one library:
gd-2.0.35-5.fc9.i386.rpm

working like a charm:

#!/bin/sh
export LD_LIBRARY_PATH={above lib on usb key also}
MYDATE=`date +20%y%m%d%H%M%S`
fswebcam --verbose --no-banner --no-timestamp --save tw_$MYDATE.jpg

No comments: