public final class MetadataCallbacks
extends java.lang.Object
| Constructor and Description |
|---|
MetadataCallbacks() |
| Modifier and Type | Method and Description |
|---|---|
DebugImageCallback |
getDebugImageCallback()
Callback that will be invoked when recognition process wishes to display a debug image.
|
DebugTextCallback |
getDebugTextCallback()
Callback that will be invoked when debug text information gets available.
|
FailedDetectionCallback |
getFailedDetectionCallback()
Callback that will be invoked when all detections in
Recognizer
See FailedDetectionCallback for more information. |
PointsDetectionCallback |
getPointsDetectionCallback()
A callback that will be invoked when
DisplayablePointsDetection gets available. |
QuadDetectionCallback |
getQuadDetectionCallback()
A callback that will be invoked when
DisplayableQuadDetection gets available. |
void |
setDebugImageCallback(DebugImageCallback debugImageCallback)
Callback that will be invoked when recognition process wishes to display a debug image.
|
void |
setDebugTextCallback(DebugTextCallback debugTextCallback)
Callback that will be invoked when debug text information gets available.
|
void |
setFailedDetectionCallback(FailedDetectionCallback failedDetectionCallback)
Callback that will be invoked when all detections in
Recognizer
See FailedDetectionCallback for more information. |
void |
setPointsDetectionCallback(PointsDetectionCallback pointsDetectionCallback)
A callback that will be invoked when
DisplayablePointsDetection gets available. |
void |
setQuadDetectionCallback(QuadDetectionCallback quadDetectionCallback)
A callback that will be invoked when
DisplayableQuadDetection gets available. |
public void setDebugImageCallback(@Nullable
DebugImageCallback debugImageCallback)
DebugImageCallback for more information.@Nullable public DebugImageCallback getDebugImageCallback()
DebugImageCallback for more information.public void setDebugTextCallback(@Nullable
DebugTextCallback debugTextCallback)
DebugTextCallback for more information.@Nullable public DebugTextCallback getDebugTextCallback()
DebugTextCallback for more information.public void setQuadDetectionCallback(@Nullable
QuadDetectionCallback quadDetectionCallback)
DisplayableQuadDetection gets available.
See QuadDetectionCallback for more information.@Nullable public QuadDetectionCallback getQuadDetectionCallback()
DisplayableQuadDetection gets available.
See QuadDetectionCallback for more information.public void setPointsDetectionCallback(@Nullable
PointsDetectionCallback pointsDetectionCallback)
DisplayablePointsDetection gets available.
See PointsDetectionCallback for more information.@Nullable public PointsDetectionCallback getPointsDetectionCallback()
DisplayablePointsDetection gets available.
See PointsDetectionCallback for more information.public void setFailedDetectionCallback(@Nullable
FailedDetectionCallback failedDetectionCallback)
Recognizer
See FailedDetectionCallback for more information.@Nullable public FailedDetectionCallback getFailedDetectionCallback()
Recognizer
See FailedDetectionCallback for more information.