Package com.google.zxing.common
Class DetectorResult
- java.lang.Object
-
- com.google.zxing.common.DetectorResult
-
- Direct Known Subclasses:
AztecDetectorResult
public class DetectorResult extends java.lang.Object
Encapsulates the result of detecting a barcode in an image. This includes the raw matrix of black/white pixels corresponding to the barcode, and possibly points of interest in the image, like the location of finder patterns or corners of the barcode in the image.
-
-
Field Summary
Fields Modifier and Type Field Description private BitMatrix
bits
private ResultPoint[]
points
-
Constructor Summary
Constructors Constructor Description DetectorResult(BitMatrix bits, ResultPoint[] points)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitMatrix
getBits()
ResultPoint[]
getPoints()
-
-
-
Field Detail
-
bits
private final BitMatrix bits
-
points
private final ResultPoint[] points
-
-
Constructor Detail
-
DetectorResult
public DetectorResult(BitMatrix bits, ResultPoint[] points)
-
-
Method Detail
-
getBits
public final BitMatrix getBits()
-
getPoints
public final ResultPoint[] getPoints()
-
-