onFrameProcessed method of the Callback interface
Called by the service to deliver the result after recognizing the frames that were supplied.
The result stability status 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 stability level has reached Available. When stability of the result has reached the desired level, the service may be stopped by calling the ITextCaptureService.stop method.
This method is to be implemented on the client side. The implementation of this method will probably contain assessing the result plausibility, displaying the results to the user or using them in any way you need.
void onFrameProcessed(
TextLine[] lines,
ResultStabilityStatus resultStatus,
Warning warning
);
Parameters
- lines
- The result as an array of text lines, represented by TextLine objects.
- resultStatus
- The estimate of how stable the result is, represented by a ResultStabilityStatus enumeration constant. It is not guaranteed that it ever reaches desired levels for a particular scene.
- warning
- The warning which occurred, if any; represented by a Warning enumeration constant.
02.03.2022 12:59:15