|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.java4less.vision.pdf417.PDF417Reader
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 | |
com.java4less.vision.barcode.pdf417.PDF417Area[] |
findBarcodesCandidates(RImage inputImage)
find barcodes it the image. |
java.util.Vector |
findPDF417(RImage image,
com.java4less.vision.recognition.VectorizedImage vi)
find start/stop bars |
boolean |
isRemoveNoise()
|
PDF417Data[] |
read(RImage inputImage)
Entry point for reading barcodes |
void |
setRemoveNoise(boolean removeNoise)
if true, all standalone white pixels surrounded by 8 black ones, will be converted to white |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public boolean applyContrast
public boolean verbose
public boolean isBWImage
Constructor Detail |
public PDF417Reader()
Method Detail |
public PDF417Data[] read(RImage inputImage) throws VisionException
inputImage
- image to be scanned
VisionException
public com.java4less.vision.barcode.pdf417.PDF417Area[] findBarcodesCandidates(RImage inputImage) throws VisionException
inputImage
-
VisionException
public java.util.Vector findPDF417(RImage image, com.java4less.vision.recognition.VectorizedImage vi) throws VisionException
vi
-
VisionException
public boolean isRemoveNoise()
public void setRemoveNoise(boolean removeNoise)
removeNoise
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |