Here is the preliminary documentation for the JPEG viewfinder program. FILES IN THIS DIRECTORY: vfjstdin.c original variant of vf.c vfj_working.c original one with working ftp support added vfjbetter.c with better ftp scripts and system calls vfjinteractive.c with mouse (trackball) adj. brightness and whitebalance (each of the above is a superset of the previous one) writejpeg.c subroutine called by the above sendPics shell script to implement wearable wireless webcam ftpcommands shell script called by sendPics you should make directories called "sent" and "sending" in which scripts will write local copies of the images. USEAGE: ./vf [startframenumber] vf is a simple SVGAlib implementation of the viewfinder program , with two added bonus features: When you click the left mouse button, it drops a jpeg picture on your hard drive (called eXXXX, where XXXX is the arguement startframenumber, or 0 if none was provided), and when you click the right button, it executes an arbitrary script (sendPics)(I have it sending stuff via ftp, but you can do what you like). With the wearcomp6 units used in class, there's a square button that latches first mouse button (for rapid fire mode to take pictures as fast as possible). The green light on means you're in rapidfire mode (press the square button again to get out of this mode). The other bonus is that the brightness and whitebalance are adjusted with the trackball. Vertical controls the bright, and horizontal controls the whitebal. The program is simple; you should be able to get it. Read the source, make sure you have SVGAlib and libjpeg installed, and have fun! There's a script to make the program, called makeit. This will make an executable called `vf'. It will also take care of linking. We don't like `make', it's overkill (too obfuscatory for very simple programs like this;)) CONTRIBUTORS: Steve Mann (original wearable wireless webcam; overall direction of project) Robert Erlich (erlichr@eyetap.org) vga hacking (svgalib, etc.) Stephen Ross (sross@eyetap.org) who wrote the jpeg stuff and the ftp stuff. James Fung (fungja@eyetap.org) who did a bunch of neat stuff. (ECE1766 class of 1998) Eric Moncrieff (eric@eyetap.org) who added the dynamic image control and starting frame (command line arg to select first frame). Will Waits (ww@eyetap.org) who added lockfiles (ECE1766 class of 1999) WEB SITES: http://wearcam.org/ece1766.htm http://engwear.org DISCLAIMER: This program is in the EXTREME ALPHA STAGE of development. In other words, it works for us but it may not work for you.