Package com.microblink.blinkid.metadata
Class MetadataCallbacks
java.lang.Object
com.microblink.blinkid.metadata.MetadataCallbacks
Class that contains all possible metadata callbacks that can observe recognition process.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCallback that will be invoked when recognition process wishes to display a debug image.Callback that will be invoked when debug text information gets available.Callback that will be invoked when all detections inRecognizer
SeeFailedDetectionCallback
for more information.Callback that will be invoked when first side recognition has completed.Callback that will be invoked when glare detection has completed.Callback that will be invoked with displayable OCR result obtained during recognition process.A callback that will be invoked whenDisplayablePointsDetection
gets available.A callback that will be invoked whenDisplayableQuadDetection
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 inRecognizer
SeeFailedDetectionCallback
for more information.void
setFirstSideRecognitionCallback
(FirstSideRecognitionCallback firstSideRecognitionCallback) Callback that will be invoked when first side recognition has completed.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 whenDisplayablePointsDetection
gets available.void
setQuadDetectionCallback
(QuadDetectionCallback quadDetectionCallback) A callback that will be invoked whenDisplayableQuadDetection
gets available.
-
Constructor Details
-
MetadataCallbacks
public MetadataCallbacks()
-
-
Method Details
-
setOcrCallback
Callback that will be invoked with displayable OCR result obtained during recognition process. SeeOcrCallback
for more information. -
getOcrCallback
Callback that will be invoked with displayable OCR result obtained during recognition process. SeeOcrCallback
for more information. -
setFirstSideRecognitionCallback
public void setFirstSideRecognitionCallback(@Nullable FirstSideRecognitionCallback firstSideRecognitionCallback) Callback that will be invoked when first side recognition has completed. SeeFirstSideRecognitionCallback
for more information. -
getFirstSideRecognitionCallback
Callback that will be invoked when first side recognition has completed. SeeFirstSideRecognitionCallback
for more information. -
setGlareCallback
Callback that will be invoked when glare detection has completed. SeeGlareCallback
for more information. -
getGlareCallback
Callback that will be invoked when glare detection has completed. SeeGlareCallback
for more information. -
setDebugImageCallback
Callback that will be invoked when recognition process wishes to display a debug image. SeeDebugImageCallback
for more information. -
getDebugImageCallback
Callback that will be invoked when recognition process wishes to display a debug image. SeeDebugImageCallback
for more information. -
setDebugTextCallback
Callback that will be invoked when debug text information gets available. SeeDebugTextCallback
for more information. -
getDebugTextCallback
Callback that will be invoked when debug text information gets available. SeeDebugTextCallback
for more information. -
setQuadDetectionCallback
A callback that will be invoked whenDisplayableQuadDetection
gets available. SeeQuadDetectionCallback
for more information. -
getQuadDetectionCallback
A callback that will be invoked whenDisplayableQuadDetection
gets available. SeeQuadDetectionCallback
for more information. -
setPointsDetectionCallback
A callback that will be invoked whenDisplayablePointsDetection
gets available. SeePointsDetectionCallback
for more information. -
getPointsDetectionCallback
A callback that will be invoked whenDisplayablePointsDetection
gets available. SeePointsDetectionCallback
for more information. -
setFailedDetectionCallback
Callback that will be invoked when all detections inRecognizer
SeeFailedDetectionCallback
for more information. -
getFailedDetectionCallback
Callback that will be invoked when all detections inRecognizer
SeeFailedDetectionCallback
for more information.
-