A QR decoder that works on a Mac?

Does anyone know a QR decoder that runs on a Mac or can be online? I just need to decode a single image.

+6
macos decoder qr-code
source share
8 answers

Unfortunately, the most commonly used libdecodeqr library depends on OpenCV (gtk2), and it is difficult to compile it on OS X. (I tried to compile it because it was necessary for the Image::DecodeQR perl module, but was unsuccessful).

Fortunately, I found this link: http://macscripter.net/viewtopic.php?id=37404 with a link to the following:

  • Download the ZBar source code .
  • Unzip the archive and open the resulting directory in the terminal window.
  • Type ./configure --disable-video --without-python --without-gtk --without-qt to customize the build process, limiting dependencies on ImageMagick.
  • Type "make" to invoke the build process.
  • Type "sudo make install" and enter the administrator password when prompted.

You will need ImageMagick , which can be installed from macports .

After installing ZBar, you can beautifully decode qrcode with

 zbarimg qrcode_file.png 

Tested on OS X Mavericks 10.9.2 (and Lion / 10.7.5) - and it works beautifully. Becasue, it depends only on ImageMagick (exists in macports) - should be easily "compiled" in other versions of OS X.

+3
source share

Using brew, it is easy to install zbar, a QR code reader.

 brew install zbar 

Then a QR can be read through

 zbarimg qrcode_file.png 

You can also use @ jm666, brew to install opencv.

+2
source share

This online decoder may also work for you:

ZXing Decoder Online

+1
source share
0
source share

I managed to build qrencode 2.0 a few months ago on my iMac. You need installed developer tools (obviously), I canโ€™t remember if I need to create any additional libraries first, for example libpng or something like that. But this is for encoding strings as QR images ...

You can use Java QR Code Library on SourceForge, I also tried it on Mac to decode the images that I encoded using qrencode 2.0 and it worked fine.

0
source share

here is an online decoder that should work for you, it uses a zxing online decoder in the background QR QR QR QR decoder

0
source share

Here is one that uses your webcam and works in real time, like a QR decoder for your phone. It is based on AdobeAir and works quite well.

http://www.dansl.net/blog/?p=256

0
source share
0
source share

All Articles