Package com.microblink.photopay.metadata
Class MetadataCallbacks
java.lang.Object
com.microblink.photopay.metadata.MetadataCallbacks
Class that contains all possible metadata callbacks that can observe recognition process.
-
Constructor Summary
Constructors -
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 inRecognizerSeeFailedDetectionCallbackfor more information.Callback that will be invoked with displayable OCR result obtained during recognition process.A callback that will be invoked whenDisplayablePointsDetectiongets available.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.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.
-
Constructor Details
-
MetadataCallbacks
public MetadataCallbacks()
-
-
Method Details
-
setOcrCallback
Callback that will be invoked with displayable OCR result obtained during recognition process. SeeOcrCallbackfor more information. -
getOcrCallback
Callback that will be invoked with displayable OCR result obtained during recognition process. SeeOcrCallbackfor more information. -
setDebugImageCallback
Callback that will be invoked when recognition process wishes to display a debug image. SeeDebugImageCallbackfor more information. -
getDebugImageCallback
Callback that will be invoked when recognition process wishes to display a debug image. SeeDebugImageCallbackfor more information. -
setDebugTextCallback
Callback that will be invoked when debug text information gets available. SeeDebugTextCallbackfor more information. -
getDebugTextCallback
Callback that will be invoked when debug text information gets available. SeeDebugTextCallbackfor more information. -
setQuadDetectionCallback
A callback that will be invoked whenDisplayableQuadDetectiongets available. SeeQuadDetectionCallbackfor more information. -
getQuadDetectionCallback
A callback that will be invoked whenDisplayableQuadDetectiongets available. SeeQuadDetectionCallbackfor more information. -
setPointsDetectionCallback
A callback that will be invoked whenDisplayablePointsDetectiongets available. SeePointsDetectionCallbackfor more information. -
getPointsDetectionCallback
A callback that will be invoked whenDisplayablePointsDetectiongets available. SeePointsDetectionCallbackfor more information. -
setFailedDetectionCallback
Callback that will be invoked when all detections inRecognizerSeeFailedDetectionCallbackfor more information. -
getFailedDetectionCallback
Callback that will be invoked when all detections inRecognizerSeeFailedDetectionCallbackfor more information.
-