Class MetadataCallbacks
- java.lang.Object
-
- com.microblink.documentverification.metadata.MetadataCallbacks
-
public final class MetadataCallbacks extends java.lang.ObjectClass that contains all possible metadata callbacks that can observe recognition process.
-
-
Constructor Summary
Constructors Constructor Description MetadataCallbacks()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DebugImageCallbackgetDebugImageCallback()Callback that will be invoked when recognition process wishes to display a debug image.DebugTextCallbackgetDebugTextCallback()Callback that will be invoked when debug text information gets available.FailedDetectionCallbackgetFailedDetectionCallback()Callback that will be invoked when all detections inRecognizerSeeFailedDetectionCallbackfor more information.FirstSideRecognitionCallbackgetFirstSideRecognitionCallback()Callback that will be invoked when first side recognition has completed.GlareCallbackgetGlareCallback()Callback that will be invoked when glare detection has completed.OcrCallbackgetOcrCallback()Callback that will be invoked with displayable OCR result obtained during recognition process.PointsDetectionCallbackgetPointsDetectionCallback()A callback that will be invoked whenDisplayablePointsDetectiongets available.QuadDetectionCallbackgetQuadDetectionCallback()A callback that will be invoked whenDisplayableQuadDetectiongets available.voidsetDebugImageCallback(DebugImageCallback debugImageCallback)Callback that will be invoked when recognition process wishes to display a debug image.voidsetDebugTextCallback(DebugTextCallback debugTextCallback)Callback that will be invoked when debug text information gets available.voidsetFailedDetectionCallback(FailedDetectionCallback failedDetectionCallback)Callback that will be invoked when all detections inRecognizerSeeFailedDetectionCallbackfor more information.voidsetFirstSideRecognitionCallback(FirstSideRecognitionCallback firstSideRecognitionCallback)Callback that will be invoked when first side recognition has completed.voidsetGlareCallback(GlareCallback glareCallback)Callback that will be invoked when glare detection has completed.voidsetOcrCallback(OcrCallback ocrCallback)Callback that will be invoked with displayable OCR result obtained during recognition process.voidsetPointsDetectionCallback(PointsDetectionCallback pointsDetectionCallback)A callback that will be invoked whenDisplayablePointsDetectiongets available.voidsetQuadDetectionCallback(QuadDetectionCallback quadDetectionCallback)A callback that will be invoked whenDisplayableQuadDetectiongets available.
-
-
-
Method Detail
-
setOcrCallback
public void setOcrCallback(@Nullable OcrCallback ocrCallback)Callback that will be invoked with displayable OCR result obtained during recognition process. SeeOcrCallbackfor more information.
-
getOcrCallback
@Nullable public OcrCallback getOcrCallback()
Callback that will be invoked with displayable OCR result obtained during recognition process. SeeOcrCallbackfor more information.
-
setFirstSideRecognitionCallback
public void setFirstSideRecognitionCallback(@Nullable FirstSideRecognitionCallback firstSideRecognitionCallback)Callback that will be invoked when first side recognition has completed. SeeFirstSideRecognitionCallbackfor more information.
-
getFirstSideRecognitionCallback
@Nullable public FirstSideRecognitionCallback getFirstSideRecognitionCallback()
Callback that will be invoked when first side recognition has completed. SeeFirstSideRecognitionCallbackfor more information.
-
setGlareCallback
public void setGlareCallback(@Nullable GlareCallback glareCallback)Callback that will be invoked when glare detection has completed. SeeGlareCallbackfor more information.
-
getGlareCallback
@Nullable public GlareCallback getGlareCallback()
Callback that will be invoked when glare detection has completed. SeeGlareCallbackfor more information.
-
setDebugImageCallback
public void setDebugImageCallback(@Nullable DebugImageCallback debugImageCallback)Callback that will be invoked when recognition process wishes to display a debug image. SeeDebugImageCallbackfor more information.
-
getDebugImageCallback
@Nullable public DebugImageCallback getDebugImageCallback()
Callback that will be invoked when recognition process wishes to display a debug image. SeeDebugImageCallbackfor more information.
-
setDebugTextCallback
public void setDebugTextCallback(@Nullable DebugTextCallback debugTextCallback)Callback that will be invoked when debug text information gets available. SeeDebugTextCallbackfor more information.
-
getDebugTextCallback
@Nullable public DebugTextCallback getDebugTextCallback()
Callback that will be invoked when debug text information gets available. SeeDebugTextCallbackfor more information.
-
setQuadDetectionCallback
public void setQuadDetectionCallback(@Nullable QuadDetectionCallback quadDetectionCallback)A callback that will be invoked whenDisplayableQuadDetectiongets available. SeeQuadDetectionCallbackfor more information.
-
getQuadDetectionCallback
@Nullable public QuadDetectionCallback getQuadDetectionCallback()
A callback that will be invoked whenDisplayableQuadDetectiongets available. SeeQuadDetectionCallbackfor more information.
-
setPointsDetectionCallback
public void setPointsDetectionCallback(@Nullable PointsDetectionCallback pointsDetectionCallback)A callback that will be invoked whenDisplayablePointsDetectiongets available. SeePointsDetectionCallbackfor more information.
-
getPointsDetectionCallback
@Nullable public PointsDetectionCallback getPointsDetectionCallback()
A callback that will be invoked whenDisplayablePointsDetectiongets available. SeePointsDetectionCallbackfor more information.
-
setFailedDetectionCallback
public void setFailedDetectionCallback(@Nullable FailedDetectionCallback failedDetectionCallback)Callback that will be invoked when all detections inRecognizerSeeFailedDetectionCallbackfor more information.
-
getFailedDetectionCallback
@Nullable public FailedDetectionCallback getFailedDetectionCallback()
Callback that will be invoked when all detections inRecognizerSeeFailedDetectionCallbackfor more information.
-
-