Anyone know a QR decoder that works on mac or that might be online? I just need to decode one single image.
When you run QR Right, you click the dock icon or the menubar icon to "scan" your Mac screen. Any detectable QR Codes or 1D barcodes are highlighted, with the decoded data right below them. If it's a URL, one more click will open that page in your default browser.
In Chrome on Windows, macOS or Chrome OS, right-click (or, with a touchpad: two finger tap) and select “Create QR code for this page” (as shown on the left) to generate a QR code you may scan or download (as shown on the right).
Using brew, it is easy to install zbar, a QR code reader.
brew install zbar
Then a QR code can be read by calling:
zbarimg qrcode_file.png
Also @jm666, brew can be used to install opencv.
Unfortunately, the most used library libdecodeqr is depends on OpenCV (gtk2) and it is too hard to compile it on OS X. (Tried to compile it because it is needed by Image::DecodeQR
perl module - but unsuccessful).
Fortunately, found this link: http://macscripter.net/viewtopic.php?id=37404 from citing the next:
./configure --disable-video --without-python --without-gtk --without-qt
to configure the build process, limiting dependencies to ImageMagick.You will need ImageMagick
what can be installed from macports.
After installing the ZBar, you can nicely decode qrcode with a command
zbarimg qrcode_file.png
Tested on OS X Mavericks 10.9.2 (and Lion/10.7.5)- and works nicely. Becasue it only depends on ImageMagick (exists in macports)- should be easily "compilable" on other OS X versions too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With