Table of contents

CCapturedResultReceiver

The CCapturedResultReceiver 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: DynamsoftCaptureVisionRouter

class CCapturedResultReceiver 

Methods Summary

Method Description
CCapturedResultReceiver Constructor
~CCapturedResultReceiver Destructor
GetObservedResultItemTypes Gets the types of observed result items.
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.
OnProcessedDocumentResultReceived Callback function triggered after processing each image and returns all processed document 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.

CCapturedResultReceiver Constructor

Constructor.

CCapturedResultReceiver()

CCapturedResultReceiver Destructor

Destructor.

virtual ~CCapturedResultReceiver()

GetObservedResultItemTypes

Gets the types of observed result items.

unsigned int GetObservedResultItemTypes()

Return value

Returns the types of observed result items.

OnCapturedResultReceived

Callback function triggered after processing each image and returns all captured results.

virtual void OnCapturedResultReceived(CCapturedResult* pResult)

Parameters

[in] pResult The captured result.

See Also

CCapturedResult

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(COriginalImageResultItem* pResult)

Parameters

[in] pResult The original image result.

See Also

COriginalImageResultItem

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(dbr::CDecodedBarcodesResult* pResult)

Parameters

[in] pResult The decoded barcodes result.

See Also

CDecodedBarcodesResult

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(dlr::CRecognizedTextLinesResult* pResult)

Parameters

[in] pResult The recognized text lines result.

See Also

CRecognizedTextLinesResult

OnProcessedDocumentResultReceived

Callback function triggered after processing each image and returns all processed document results. For the callback to be triggered, it is essential that the DocumentNormalizerTask is properly configured.

virtual void OnProcessedDocumentResultReceived(ddn::CProcessedDocumentResult* pResult)

Parameters

[in] pResult The processed document results.

See Also

CProcessedDocumentResult

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(dcp::CParsedResult* pResult)

Parameters

[in] pResult The parsed result.

See Also

CParsedResult

GetName

Gets the name of the captured result receiver.

const char* GetName() const

Return value

Returns the name of the captured result receiver.

SetName

Sets the name of the captured result receiver.

void SetName(const char* name)

Parameters

[in] name The name of the captured result receiver.