Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: How to read QRCode from image file using C#

How to read QRCode from image file using C# 4 years 4 months ago #3907

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");

}
}
}
The administrator has disabled public write access.

  • Posts:59
  • developer's Avatar
  • developer
  • Moderator
  • OFFLINE
  • Karma: 1
  • Page:
  • 1
Time to create page: 0.188 seconds
Powered by Kunena Forum :: Wibi