CIntermediateResultManager
The CIntermediateResultManager
class manages intermediate results generated during data capturing. It provides methods to add and remove intermediate result receivers, as well as to get raw image data using an image hash id.
Definition
Namespace: dynamsoft::intermediate_results
Assembly: DynamsoftCore
class CIntermediateResultManager
Methods Summary
Method | Description |
---|---|
AddResultReceiver |
Adds an intermediate result receiver. |
RemoveResultReceiver |
Removes an intermediate result receiver. |
GetRawImage |
Gets the raw image data using an image hash id. |
AddResultReceiver
Adds an intermediate result receiver to the manager.
virtual int AddResultReceiver(CIntermediateResultReceiver* receiver)
Parameters
[in] receiver
The intermediate result receiver to add.
RemoveResultReceiver
Removes an intermediate result receiver from the manager.
virtual int RemoveResultReceiver(CIntermediateResultReceiver* receiver)
Parameters
[in] receiver
The intermediate result receiver to remove.
GetRawImage
Gets the raw image data using an image hash id.
virtual CImageData* GetRawImage(const char* imageHashId)
Parameters
[in] imageHashId
The hash id of the image to retrieve.
Return value
Returns a pointer to the CImageData
object containing the raw image data. You don’t need to release the memory pointed to by the returned pointer.