com.java4less.vision.pdf417
Class PDF417Reader

java.lang.Object
  |
  +--com.java4less.vision.pdf417.PDF417Reader

public class PDF417Reader
extends java.lang.Object

 Main class for reading PDF417 barcodes. Example of use:
 
    // im is a BufferedImage object that contains the image to be scanned	
    RImage rim=new RImage((BufferedImage) im);

    PDF417Data[] barcodes=reader.read(rim); 
     		
         
 


Field Summary
 boolean applyContrast
          set this property to true if the barcode in the image is not dark enough
 boolean isBWImage
          is a black and white image?
 boolean verbose
           
 
Constructor Summary
PDF417Reader()
           
 
Method Summary
 java.util.Vector findPDF417(RImage image, com.java4less.vision.recognition.VectorizedImage vi)
          find start/stop bars
 PDF417Data[] read(RImage inputImage)
          Entry point for reading barcodes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applyContrast

public boolean applyContrast
set this property to true if the barcode in the image is not dark enough


verbose

public boolean verbose

isBWImage

public boolean isBWImage
is a black and white image?

Constructor Detail

PDF417Reader

public PDF417Reader()
Method Detail

read

public PDF417Data[] read(RImage inputImage)
                  throws VisionException
Entry point for reading barcodes

Parameters:
inputImage - image to be scanned
Returns:
found barcodes
Throws:
VisionException

findPDF417

public java.util.Vector findPDF417(RImage image,
                                   com.java4less.vision.recognition.VectorizedImage vi)
                            throws VisionException
find start/stop bars

Parameters:
vi -
Returns:
Throws:
VisionException