J4L PDF417 Vision for the Java Platform [TM]

Copyright J4L (http://www.java4less.com) 2007

Installation

J4L PDF417 Vision is a Java component which can read (scan) pdf417 barcodes images. It support the following features:

The requirements are:

Know limitations are:

 

Installation

 

In order to use the component you only need to add rvision.jar and rpdf417vision.jar to your classpath. If you need to scan large images and get a outOfMemory error you will need to increase the Java heap Size using the Java.exe parameter -Xmx.

 

Javadoc pages

The Javadoc pages are located in the javadoc subdirectory of the component's ZIP file.

 

Examples

The use of the component is very simple. You must follow these steps:

  1. Create PDF417Reader instance:

    PDF417Reader reader=new PDF417Reader();


  2. Load your image into a BufferedImage class. The application PDF417Sample.java includes a method called loadImage() you can use for this purpose.

    Image image=loadImage("myFile.gif");

  3. Create a RImage instance and call the read() method of the PDF417Reader

    PDF417Data[] barcodes=reader.scan(new RImage((BufferedImage) im));

  4. Read the result array. The member of the array are PDF417Data objects which contain the following information:

The component includes a simple test program called PDF417Sample.java that will scan all file located in the images subdiretory.

You can optimize the scanning process by setting some system properties:

Depending on the size of the object and the image resolution you use, you can modify these values to speed up the scanning process.