Showing results for 
Search instead for 
Did you mean: 

qr code reading

Go to solution



I have attached a program for reading QR code. This program can read for instance QR codes I generate on web (see attached "QR code") But I can't read QR-code from a picture (see Test_snap_jpg). This picture is snapped with a USB mini camera. The picture is a bit blured, but this shouldn't be a problem for reading the QR code. I've tested to read it directly from the screen with a iPhone QR reader app and it reads it perfectly. The problem is likely related to the format or size of the picture, but I can't figure out. what to do. Someone has an idea?




Download All
Message 1 of 6
Accepted by topic author paalbrok

Your test_snap_jpg.jpg file seems to be corrupted some how.


I downloaded it and tried to open it with LabVIEW, but it reported an error. Your original QR Code.jpg opens in LabVIEW fine.


I tested your images against the zxing online decoder


Your snap image was not recognized, your original QR code file decoded successfully. I did open your snap file in snagit, save it as a png and then open it with LabVIEW. I could see it but not decode it.


I submitted the converted png to the zxing online decoder, it could not detect the barcode in the image.


The problem appears to be in your image file. Not sure where the bands in the image are coming from.

Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

0 Kudos
Message 2 of 6

It works now.


Thank you for your help.

0 Kudos
Message 3 of 6

Hello I'm also facing similar problem.

Can you elaborate how it worked for you?


Thanks in advance


0 Kudos
Message 4 of 6

Hi Sir,


Thanks for your info.

Besides this, i have one question, for this case, you have a ready-made QR pic.

If i want to use my camera to ready the QR code label, what else i need to do ?


Keep moving
0 Kudos
Message 5 of 6

Not sure why report some error, the format of the QR code is not correct ?


Keep moving
Download All
0 Kudos
Message 6 of 6