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.
Modifier and Type | Field and Description |
---|---|
private BitMatrix |
bits |
private ResultPoint[] |
points |
Constructor and Description |
---|
DetectorResult(BitMatrix bits,
ResultPoint[] points) |
Modifier and Type | Method and Description |
---|---|
BitMatrix |
getBits() |
ResultPoint[] |
getPoints() |
private final BitMatrix bits
private final ResultPoint[] points
public DetectorResult(BitMatrix bits, ResultPoint[] points)
public final BitMatrix getBits()
public final ResultPoint[] getPoints()