Video::Capture::V4l::Imager

Capture images from a video webcam
Download

Video::Capture::V4l::Imager Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Michael Schilli
  • Publisher web site:
  • http://search.cpan.org/~mschilli/

Video::Capture::V4l::Imager Tags


Video::Capture::V4l::Imager Description

Capture images from a video webcam Video::Capture::V4l::Imager is a Perl module that captures still images from a USB video cam connected to your Linux box. The pictures come back as Imager objects (see the Imager module on CPAN for details) and can be easily manipulated and saved to disk.Video::Capture::V4l::Imager is a convenience wrapper around Marc Lehmann's Video::Capture::V4l module. It uses the following procedure to obtain the still images from the video stream: http://www.perlmonks.org/?node=474047SYNOPSIS use Video::Capture::V4l::Imager; my $vcap = Video::Capture::V4l::Imager->new( width => 320, height => 240, ); # Adjust camera brightness if necessary $vcap->brightness(32_000); # Capture an image, back comes an Imager object my $img = $vcap->capture(); # Save it as JPEG $img->write(file => 'mycapture.jpg') or die "Can't write: $!"; Requirements: · Perl


Video::Capture::V4l::Imager Related Software