NAME
Barcode::Zebra - Perl interface to the Zebra Barcode Reader Library
SYNOPSIS
setup:
use Barcode::Zebra;
my $reader = Barcode::Zebra::Processor->new();
$reader->init();
$reader->set_data_handler(my_handler);
scan an image:
my $image = Barcode::Zebra::Image->new();
$image->set_format('422P');
$image->set_size(114, 80);
$image->set_data($raw_bits);
$reader->process_image($image);
scan from video:
$reader->set_visible();
$reader->set_active();
$reader->user_wait();
DESCRIPTION
The Zebra Barcode Reader library is a library for scanning and decoding bar codes from various sources such as video streams, image files or raw intensity sensors. It supports EAN, UPC, Code 128, Code 39 and Interleaved 2 of 5.
These are the bindings for interacting directly with the library from Perl.
REFERENCE
Functions
- version()
-
Returns the version of the zebra library as "major.minor".
- increase_verbosity()
-
Increases global library debug by one level.
- set_verbosity(level)
-
Sets global library debug to the indicated level. Higher numbers give more verbosity.
Constants
Width stream "color" constants:
- SPACE
-
Light area or space between bars.
- BAR
-
Dark area or colored bar segment.
SEE ALSO
Barcode::Zebra::Processor, Barcode::Zebra::ImageScanner, Barcode::Zebra::Image, Barcode::Zebra::Symbol, Barcode::Zebra::Scanner, Barcode::Zebra::Decoder
zebraimg(1), zebracam(1)
http://zebra.sf.net
AUTHOR
Jeff Brown, <spadix@users.sourceforge.net>
COPYRIGHT AND LICENSE
Copyright 2008-2009 (c) Jeff Brown <spadix@users.sourceforge.net>
The Zebra Barcode Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.