public interface CameraDetectorListener
ContourDetector,
net.doo.snap.lib.snap.camera.DetectionTask| Modifier and Type | Method and Description |
|---|---|
void |
onBarcodeDetectionOK(java.lang.String content)
Detection was correctly done, barcode content can be displayed
|
void |
onDetectionFailed(DetectionResult result)
Detection failed, no polygon was detected
|
void |
onDetectionOK(java.util.List<android.graphics.PointF> polygon)
Detection was correctly done, polygon can be displayed
|
void |
onDetectionWithError(DetectionResult result,
java.util.List<android.graphics.PointF> polygon)
There was a problem during detection, results might be imprecise or can be improved with user interaction
|
void onDetectionOK(java.util.List<android.graphics.PointF> polygon)
polygon - to displayvoid onBarcodeDetectionOK(java.lang.String content)
content - to displayvoid onDetectionWithError(DetectionResult result, java.util.List<android.graphics.PointF> polygon)
result - DetectionResultpolygon - detected polygon that can be displayed together with the error message or advicevoid onDetectionFailed(DetectionResult result)
result - DetectionResult used to show error message if needed