/fswebcam

fswebcam for OPI (exposure,Hflip and Vflip control set)

Primary LanguageCGNU General Public License v2.0GPL-2.0

fswebcam - Small and simple webcam software for *nix.

Created by Philip Heron <phil@sanslogic.co.uk>
http://www.sanslogic.co.uk/fswebcam/

This is the program used to generate images for a webcam. It captures a number
of frames from any V4L or V4L2 compatible device, averages them to reduce noise
and draws the details on it using the GD Graphics Library which also handles
compressing the image to PNG or JPEG.

INSTALLING

Run the following commands in the source folder to build and install fswebcam:

./configure --prefix=/usr --disable-v4l1 --enable-32bit-buffer
make
sudo make install

It's only requirements are that the GD library be installed with JPEG, PNG
and FreeType support.

Install Dependencies:
====================
sudo apt-get install libgd2-xpm-dev libjpeg-dev libpng-dev 

sudo apt-get install libfreetype6-dev

Run samples:
===========
fswebcam --Vflip 1 -r 1600x1200 -p YUV420P - > cam640x480_2.jpg
fswebcam --Hflip 1 -r 640x480 -p YUV420P - > cam640x480_1.jpg
fswebcam --exposure 4 -r 640x480 -p YUV420P - > cam640x480_3.jpg

** Don't forget to update your GC2035 driver to get better results