Click here to Skip to main content
16,010,394 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need some clarification about QR code,
i need to read qr code from image and pass that value to a site as query string if anybody has any sample code please help me
Posted
Comments
Shanu2rick 24-Jan-13 4:18am    
Usually QRCode return a string value.
Now, if you have string value you can use it whatever or wherever you need.

This would be helpful for you Open Source QRCode Library[^]
 
Share this answer
 
See if following article in CP helps you:
Scan and Read the Barcode from PDF File[^]
 
Share this answer
 
In this case, the Barcode Reader for .NET is highly recommended.

Here is a sample code of C# to read qr code :

using BusinessRefinery.Barcode;
using BusinessRefinery.Barcodes.Reader;

BusinessRefinery.Barcode.QRCode barcode = new QRCode();
barcode.Code = "QRCodeReader123";
barcode.Version = QRCodeVersion.V3;
barcode.Rotate = Rotate.Rotate180;

Bitmap bmp = barcode.drawBarcodeOnBitmap();

string[] barcodes = BarCodeReader.scanBarCode(bmp,
BusinessRefinery.Barcodes.Reader.BarCodeType.QRCODE);

Hope it helps!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900