From 44cf8ec67278bd1ab6c7f83a9993f7a5686a9541 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 9 Mar 2024 01:06:44 +0100 Subject: Adding upstream version 0.23.93. Signed-off-by: Daniel Baumann --- doc/ref/zbarcam.xml | 207 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 207 insertions(+) create mode 100644 doc/ref/zbarcam.xml (limited to 'doc/ref/zbarcam.xml') diff --git a/doc/ref/zbarcam.xml b/doc/ref/zbarcam.xml new file mode 100644 index 0000000..69ad593 --- /dev/null +++ b/doc/ref/zbarcam.xml @@ -0,0 +1,207 @@ + + + + zbarcam + 1 + + + + zbarcam + + scan and decode bar codes from a video device + + + + + + zbarcam + + + + + + + + + device + + + + zbarcam + + + + + + + + + + Description + + zbarcam scans a video4linux video source + (eg, a webcam) for bar codes and prints any decoded data to the + standard output. The video stream is also displayed to the + screen. + + device is the + path to the video4linux (version 1 or 2) character device special + file (major number 81 and minor number 0 thru 63). It defaults to + /dev/video0 + + The underlying library currently supports EAN-13 (including + UPC and ISBN subsets), EAN-8, DataBar, DataBar Expanded, Code 128, + Code 93, Code 39, Codabar, Interleaved 2 of 5 and QR Code symbologies. + The specific type of each detected symbol is printed with the decoded + data. + + + + + Options + + This program follows the usual GNU command line syntax. + Single letter options may be bundled, long options start with two + dashes (`-'). + + + &refcommonoptions; + + + + + + Quiet operation; disable the audible beep otherwise + emitted when a symbol is decoded + + + + + + + Disable output video window. Video input will be + scanned until the program is interrupted or otherwise + signaled + + + + + + + Stream results using an XML output format. This + format wraps the raw data from the symbol with information + about the scan in an easy to parse format. The latest + schema is available from + + + + + + + Use raw symbol data output format. This format + prints symbol data separated by newlines without the + additional symbology type information that is printed by + default + + + + + + + Request video input scaling from the camera driver. + Possibly useful for reducing huge frames to achieve a higher + frame rate. Note that the driver may adjust or completely + ignore the scaling request + + + + + + + + Examples + + Scan for barcodes using the second video device and pipe the + resulting data through a script that searches for each code in a + database and does something useful with them: + + zbarcam /dev/video1 | upcrpc.py + + The upcrpc.py example script included in the + examples/ subdirectory of the distribution + will make an XMLRPC call to a popular internet UPC database and + print the product description if found. + + Scan for barcodes using the default video device and stream + results to stdout in XML format, also disable recognition of + Interleaved 2 of 5 codes to prevent confusion with other + symbologies or background noise: + + zbarcam + + + Scan only for Code 39, without using the preview window - + maybe for a fixed installation. To enable only Code 39, first all + symbologies are disabled, then Code 39 is re-enabled: + + zbarcam + + + + + Exit Status + + zbarcam returns an exit code to indicate the + status of the program execution. Current exit codes are: + + + + 0 + + Successful program completion. + + + + + 1 + + An error occurred. This includes bad arguments and I/O + errors. + + + + + 2 + + A fatal error occurred. + + + + + + + See Also + + + + + + Bugs + + See + + + + -- cgit v1.2.3