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

TOPIC: How to decode QRCode from image file using java

How to decode QRCode from image file using java 4 years 3 months ago #3905

To read QRCode fom image file, you need to download QRCode decode SDK/J2SE from aipsys and import it into your project.

Here is the sample clips:

package com.aipsys.client.j2se;

public final class CommandLineRunner {

private CommandLineRunner()

public static void main(String[] args) throws Exception {

com.aipsys.client.j2se.Scanner scanner = new Scanner();
com.aipsys.client.j2se.Result r = scanner.DecodeFromImageFile("c:\\01.jpg");
if (r !=null)
System.err.println("Trial version will replace first char of output with *\n");
byte []tmp = r.getValue();
String str = new String(tmp);

System.err.println("no barcode found\n");

The administrator has disabled public write access.

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