Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ZBar vs. zxing - QR recognition comparison

Can anyone tell which library is better in small QR Codes recognition under low lighting conditions? Platform is iPhone 4/iOS 5 I tried both Barcodes (zxing) and the ZBar apps and it seems that zxing was noticeably better in recognizing the codes under "hard" conditions. That said, it wasn't a very large sample test.

Any inputs on the actual image recognition capabilities (speed+quality) of both libraries would be helpful.

TIA.

like image 821
atyachin Avatar asked Jan 19 '12 20:01

atyachin


People also ask

Can ZXing scan QR code?

ZXing also provides online QR Code Generator. Enter the required fields, generate and scan it to get the results. For more advanced options do have a look at their Sample application.

Are there different versions of QR codes?

QR codes are classified into Model 1, Model 2 and Micro QR. They have different features and data capacities. “Version” indicates the size (number of modules) of a QR code. A larger version contains greater data.

What is faster than QR code?

NFC tags Unlike QR codes, NFC tags don't require manual scanning through an app — the latest smartphones already come with NFC technology.

What is the best use of a QR code?

QR (Quick Response) Codes can be read and understood by mobile devices. Marketers have used this in billboards, magazines, web pages, and any other marketing material. QR codes can provide more information about the product or service without a sweat, and the information quickly goes to the user's device.


1 Answers

I have found that Zxing very good on the later iPads and iPhones. The iPad 2 camera was very slow with Zxing, but the later cameras were much faster and have better focusing, which improved speed considerably.

One "hack" I did with Zxing on iPad 2 is to change the rectangle in code. I would progressively zoom out on each attempt, so rather than use the rectangle shown I would expand it out in steps, so I would check 5 times for each scan. The results were much much improved. On the iPad 3 etc this was not so necessary, but still I have the code in there and it is fast.

I have used both ZBar and ZXing in Windows using scanners (300 DPI), and found dense QRCodes a problem for ZXIng and had to include ZBar support. Implementing ZBar support was very tricky and had to write my own API, if anyone is interested.

like image 68
Paul Bartlett Avatar answered Sep 23 '22 14:09

Paul Bartlett