LinuxCommandLibrary

zbarcam

Scan barcodes from webcam video

TLDR

Scan barcodes

$ zbarcam
copy
Scan without display
$ zbarcam --nodisplay
copy
Print raw output
$ zbarcam --raw
copy
Specify device
$ zbarcam [/dev/video_device]
copy

SYNOPSIS

zbarcam [OPTIONS] [DEVICE]

DESCRIPTION

zbarcam scans and decodes barcodes and QR codes from a video device (webcam). Decoded data is printed to stdout in real-time.
Part of the ZBar barcode reader package.

PARAMETERS

--nodisplay

Disable video window
--raw
Print barcode data without type
--prescale WxH
Prescale video to specified size
-v, --verbose
Increase verbosity
-q, --quiet
Suppress output

CAVEATS

Requires webcam or video capture device. Barcode must be clearly visible and properly lit. May need v4l2 permissions.

SEE ALSO

zbarimg(1), qrencode(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community