IntermediateResultManager
The IntermediateResultManager
class manages intermediate results generated during data capturing. It provides methods to add and remove intermediate result receivers, as well as to get original image data using an image hash id.
Definition
Namespace: com.dynamsoft.core.intermediate_results
Assembly: DynamsoftCore.aar
class IntermediateResultManager
Methods
Method | Description |
---|---|
addResultReceiver |
Adds a IntermediateResultReceiver object as the receiver of intermediate results. |
removeResultReceiver |
Removes the specified IntermediateResultReceiver object. |
getOriginalImage |
Retrieves the original image data. |
addResultReceiver
Adds a IntermediateResultReceiver
object as the receiver of intermediate results.
void addResultReceiver(IntermediateResultReceiver receiver);
Parameters
[in] receiver
: An IntermediateResultReceiver
object.
removeResultReceiver
Removes the specified IntermediateResultReceiver
object.
void removeResultReceiver(IntermediateResultReceiver receiver);
Parameters
[in] receiver
: An IntermediateResultReceiver
object.
getOriginalImage
Retrieves the original image data.
ImageData getOriginalImage(String imageHashId);
Parameters
[in] imageHashId
: The image hash ID.
Return Value
The original image data as ImageData
.