|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.java4less.vision.Barcode1DReader
Class for scanning images and reading barcodes. Example of use: // load image to scan in a BufferedImage object BufferedImage myImage=....; Barcode1DReader reader=new Barcode1DReader(); reader.setSymbologies(Barcode1DReader.CODE128); BarcodeData[] barcodes=reader.scan(new RImage(myImage));
Field Summary | |
boolean |
applyContrast
apply contrast algorithm |
static int |
CODE128
|
static int |
CODE39
|
static int |
EAN13
|
static int |
EAN8
|
static int |
IDENTCODE
|
static int |
INTERLEAVED25
|
boolean |
isBWImage
is a black and white image? |
static int |
UPCA
|
static int |
UPCE
|
Constructor Summary | |
Barcode1DReader()
|
Method Summary | |
BarcodeData[] |
scan(RImage inputImage)
scan image looking for barcodes |
void |
setProgressListener(IProgressListener l)
Set progress listener for getting progress information |
void |
setSymbologies(int s)
set of symbologies to be recognized |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int CODE128
public static int EAN8
public static int EAN13
public static int UPCA
public static int UPCE
public static int CODE39
public static int INTERLEAVED25
public static int IDENTCODE
public boolean applyContrast
public boolean isBWImage
Constructor Detail |
public Barcode1DReader()
Method Detail |
public void setSymbologies(int s)
s
- public void setProgressListener(IProgressListener l)
l
- public BarcodeData[] scan(RImage inputImage) throws VisionException
VisionException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |