T - public class QrCodePreciseDetector<T extends boofcv.struct.image.ImageGray<T>> extends java.lang.Object implements QrCodeDetector<T>
| Modifier and Type | Field and Description |
|---|---|
protected boofcv.misc.MovingAverage |
milliBinary |
protected boofcv.misc.MovingAverage |
milliDecoding |
| Constructor and Description |
|---|
QrCodePreciseDetector(boofcv.abst.filter.binary.InputToBinary<T> inputToBinary,
QrCodePositionPatternDetector<T> detectPositionPatterns,
boolean copyBinary,
java.lang.Class<T> imageType) |
| Modifier and Type | Method and Description |
|---|---|
boofcv.struct.image.GrayU8 |
getBinary() |
QrCodeDecoderImage<T> |
getDecoder() |
java.util.List<QrCode> |
getDetections()
List of detected markers
|
QrCodePositionPatternDetector<T> |
getDetectPositionPatterns() |
java.util.List<QrCode> |
getFailures()
List of likely markers that were rejected.
|
java.lang.Class<T> |
getImageType()
Type of image it can process
|
boofcv.alg.shapes.polygon.DetectPolygonBinaryGrayRefine<T> |
getSquareDetector() |
void |
process(T gray)
Processes the image and searches for markers
|
void |
resetRuntimeProfiling() |
void |
setProfilerState(boolean active) |
protected boofcv.misc.MovingAverage milliBinary
protected boofcv.misc.MovingAverage milliDecoding
public QrCodePreciseDetector(boofcv.abst.filter.binary.InputToBinary<T> inputToBinary, QrCodePositionPatternDetector<T> detectPositionPatterns, boolean copyBinary, java.lang.Class<T> imageType)
public void process(T gray)
QrCodeDetectorprocess in interface QrCodeDetector<T extends boofcv.struct.image.ImageGray<T>>gray - The image being processedpublic java.util.List<QrCode> getDetections()
QrCodeDetectorgetDetections in interface QrCodeDetector<T extends boofcv.struct.image.ImageGray<T>>QrCodeDetector.process(T)public java.util.List<QrCode> getFailures()
QrCodeDetectorgetFailures in interface QrCodeDetector<T extends boofcv.struct.image.ImageGray<T>>QrCodeDetector.process(T)public boofcv.struct.image.GrayU8 getBinary()
public void setProfilerState(boolean active)
public void resetRuntimeProfiling()
public QrCodePositionPatternDetector<T> getDetectPositionPatterns()
public boofcv.alg.shapes.polygon.DetectPolygonBinaryGrayRefine<T> getSquareDetector()
public QrCodeDecoderImage<T> getDecoder()
public java.lang.Class<T> getImageType()
QrCodeDetectorgetImageType in interface QrCodeDetector<T extends boofcv.struct.image.ImageGray<T>>