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. |
GlareCallback |
getGlareCallback()
Callback that will be invoked when glare detection has completed.
|
OcrCallback |
getOcrCallback()
Callback that will be invoked with displayable OCR result obtained during recognition process.
|
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 |
setGlareCallback(GlareCallback glareCallback)
Callback that will be invoked when glare detection has completed.
|
void |
setOcrCallback(OcrCallback ocrCallback)
Callback that will be invoked with displayable OCR result obtained during recognition process.
|
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 setOcrCallback(@Nullable OcrCallback ocrCallback)
OcrCallback
for more information.@Nullable public OcrCallback getOcrCallback()
OcrCallback
for more information.public void setGlareCallback(@Nullable GlareCallback glareCallback)
GlareCallback
for more information.@Nullable public GlareCallback getGlareCallback()
GlareCallback
for more information.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.