public static interface IImageCaptureService.Callback extends IRecognitionService.Callback
Modifier and Type | Method and Description |
---|---|
void |
onFrameProcessed(IImageCaptureService.Status status,
IImageCaptureService.Result result)
Delivers the feedback and result of image capture.
|
onError, onRequestLatestFrame
void onFrameProcessed(IImageCaptureService.Status status, IImageCaptureService.Result result)
The recognition confidence is also provided and should be used to determine if the accuracy
is high enough for the result to be used for any practical purposes. We recommend not to use
the data in any way until the confidence level has reached Available
.
When the confidence returned by this method has reached the desired level,
the service may be stopped by calling the stop
method.
status
- The current status of capture (for UI feedback)result
- The result of the capture