Rowland Carlson

How to parse QR codes from the command line

2022-06-24

If I have a QR code downloaded as an image qr.png,
Then I can use zbarimg to parse it:

zbarimg -q --raw qr.png

On FreeBSD, zbarimg is installed with zbar:

pkg install zbar