IntermediateResultListener
IntermediateResultListener
is the interface to handle callback when intermediate results are returned.
interface com.dynamsoft.dbr.IntermediateResultListener
Method | Description |
---|---|
intermediateResultCallback |
Represents the method to handle the intermediate result array returned by the library. |
intermediateResultCallback
Represents the method to handle the intermediate result array returned by the library.
void intermediateResultCallback(int frameID, ImageData imageData, IntermediateResult[] intermediateResult;
Parameters
frameId
: The ID of the frame.
imageData
: The image data of the frame.
results
: The intermediate result of the frame.
Code Snippet
IntermediateResultListener intermediateResultListener = new IntermediateResultListener() {
@Override
public void intermediateResultCallback(int frameID, ImageData imageData, IntermediateResult[] intermediateResult) {
// Add your code
}
};