Easy way to integtate QRCode reader to your application

Posted by Godsky under C# on 12/23/2012 | Points: 10 | Views : 38437 | Status : [Member] | Replies : 5
1. Class discription
public class Result
public override string ToString()
public virtual string Text { get; }
public virtual sbyte[] Value { get; }
public virtual int X { get; }
public virtual int Y { get; }

public class Scanner
public Results DecodeFromImageFile(string sFile)
public Results DecodeFromImage(Bitmap im)
public Results DecodeFromGrayArray(byte[] image, int width, int height)
public bool RegisterQRCodeReader(string strMail, string strRegCode)


2. Samples
2.1 Decode from Bitmap file
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using aipsys.barcode;

namespace QRCodeDecodeTest
{
class Program
{
static void Main(string[] args)
{
Scanner scanner = new Scanner();
System.Console.Write("Trial version will replace some result with '*'\n");
Results r = scanner.DecodeFromImageFile("c:\\01.jpg");
if (r!= null)
{
System.Console.Write(r.Text);
}
else
System.Console.Write("no barcode found");

}
}
}


for trial SDK , visit www.aipsys.com for details.




Responses

Posted by: Adelali on: 1/6/2013 [Member] Starter | Points: 25

Up
0
Down
It's also easy to read QR Code Barcode in .NET library.

http://www.businessrefinery.com/products/barcode_reader_net/barcodes/qr-code.html

Godsky, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Camillem on: 4/23/2013 [Member] Starter | Points: 25

Up
0
Down
check http://www.rasteredge.com/dotnet-imaging/addon-barcode-reader/ on how to creat barcode (qr included)reader .

look for help

Godsky, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: David9998 on: 9/9/2013 [Member] Starter | Points: 25

Up
0
Down
Share a sample for reading qr code in C# class with you:
string[] datas = BarcodeScanner.Scan("qr-code-barcode-image.gif", BarcodeType.QRCode);
For more detailed info, read this:http://www.onbarcode.com/csharp/qr-code-reader.html

Godsky, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mariah on: 11/5/2013 [Member] Starter | Points: 25

Up
0
Down
i only used this qr code reader,which Scan multiple QR Code barcodes in a single image file
Support GIF, JPEG, PNG & TIFF formats
http://www.keepautomation.com/products/net_barcode_reader/barcode_qrcode.html

Godsky, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Thackeray on: 2/19/2014 [Member] Starter | Points: 25

Up
0
Down
A revise to the above rasteredge info, this is the specific 2d qr code reader programmed with the easy to understand visual basic language. Using this qr code reader, you can decode and scan qr code from image or docuemnt file.

http://www.rasteredge.com/how-to/vb-net-imaging/barcode-reading-qrcode/


Godsky, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response