CapturedResultReceiver
The CapturedResultReceiver
class is responsible for receiving captured results. It contains several callback functions for different types of results, including original image, decoded barcodes, recognized text lines, detected quads, normalized images, and parsed results.
Definition
Namespace: Dynamsoft.CVR
Assembly: Dynamsoft.CaptureVisionRouter.dll
public class CapturedResultReceiver
Methods
Method | Description |
---|---|
OnCapturedResultReceived |
Callback function triggered after processing each image and returns all captured results. |
OnOriginalImageResultReceived |
Callback function triggered when start processing each image and returns the original image result. |
OnDecodedBarcodesReceived |
Callback function triggered after processing each image and returns all decoded barcodes results. |
OnRecognizedTextLinesReceived |
Callback function triggered after processing each image and returns all recognized text lines results. |
OnDetectedQuadsReceived |
Callback function triggered after processing each image and returns all detected quads results. |
OnNormalizedImagesReceived |
Callback function triggered after processing each image and returns all normalized images results. |
OnParsedResultsReceived |
Callback function triggered after processing each image and returns all parsed results. |
GetName |
Gets the name of the captured result receiver. |
SetName |
Sets the name of the captured result receiver. |
OnCapturedResultReceived
Callback function triggered after processing each image and returns all captured results.
virtual void OnCapturedResultReceived(CapturedResult pResult)
Parameters
[in] pResult
The captured result.
See Also
OnOriginalImageResultReceived
Callback function triggered when start processing each image and returns the original image result. For the callback to be triggered, it is essential that the parameter OutputOriginalImage
is set to value 1
.
virtual void OnOriginalImageResultReceived(OriginalImageResultItem pResult)
Parameters
[in] pResult
The original image result.
See Also
OnDecodedBarcodesReceived
Callback function triggered after processing each image and returns all decoded barcodes. For the callback to be triggered, it is essential that the BarcodeReaderTask
is properly configured.
virtual void OnDecodedBarcodesReceived(DecodedBarcodesResult pResult)
Parameters
[in] pResult
The decoded barcodes result.
See Also
OnRecognizedTextLinesReceived
Callback function triggered after processing each image and returns all recognized text lines. For the callback to be triggered, it is essential that the LabelRecognizerTask
is properly configured.
virtual void OnRecognizedTextLinesReceived(RecognizedTextLinesResult pResult)
Parameters
[in] pResult
The recognized text lines result.
See Also
OnDetectedQuadsReceived
Callback function triggered after processing each image and returns all detected quads. For the callback to be triggered, it is essential that the DocumentNormalizerTask
is properly configured.
virtual void OnDetectedQuadsReceived(DetectedQuadsResult pResult)
Parameters
[in] pResult
The detected quads result.
See Also
OnNormalizedImagesReceived
Callback function triggered after processing each image and returns all normalized images. For the callback to be triggered, it is essential that the DocumentNormalizerTask
is properly configured.
virtual void OnNormalizedImagesReceived(NormalizedImagesResult pResult)
Parameters
[in] pResult
The normalized images result.
See Also
OnParsedResultsReceived
Callback function triggered after processing each image and returns all parsed results. For the callback to be triggered, it is essential that the CodeParserTask
is properly configured.
virtual void OnParsedResultsReceived(ParsedResult pResult)
Parameters
[in] pResult
The parsed result.
See Also
GetName
Gets the name of the captured result receiver.
string GetName()
Return Value
Returns the name of the captured result receiver.
SetName
Sets the name of the captured result receiver.
void SetName(string name)
Parameters
[in] name
The name of the captured result receiver.