On Tue, Oct 24, 2000 at 08:36:39PM -0500, Stephen E. Hargrove wrote:
: Hey all. I'm in the market for a new webcam, preferably USB. I've
: checked out the Linux-USB site, and they have several webcams which seem
: to work, but the list seems mixed between quality and useability.
:
: Does anyone have any recommendations as to which camera (1) is good
: quality as to video/audio performance and (2) works with Linux?
The cams that use the cpia driver seem to work pretty well. I'm having
reasonably good success (single frame grabs) with the IBM PC Camera,
which is actually made by Xirlink, and found at:
http://www.xirlink.com/ibmpccamera/
It uses the ibmcam.o driver. I hacked up some perl scripts to control
it's image grabbing and put together a nifty Apache::ASP page that manages
handing out the images.
Basically, here's what I wrote:
camcontrol.pl - Written using the GNOME/GTK perl bindings. It controls
whether or not the cam is shooting right now, sets the caption message,
and can snap a picture right now.
camsnap.pl - runs the program vidcat, saves a temp image, then processes it
with ImageMagick's convert (I know, I should use the PerlMagick bindings,
but haven't had time to convert) to add the caption text, and dump it into
position
index.asp - spits out the image.
<%
my $dir = "/var/www/html/cam";
my $img = "cam.jpg";
$Response->{ContentType} = "image/jpeg";
open(FILE, "$dir/$img") or die "$0: cannot open file";
while(<FILE>){
print;
}
close(FILE);
%>
--
Jason Costomiris <>< | Technologist, geek, human.
jcostom {at} jasons {dot} org | http://www.jasons.org/
Quidquid latine dictum sit, altum viditur.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list