Table of contents

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

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.
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.

OnCapturedResultReceived

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

virtual void OnCapturedResultReceived(CapturedResult result)

Parameters

[in] result The captured result.

See Also

CapturedResult

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 result)

Parameters

[in] result The original image result.

See Also

OriginalImageResultItem

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 result)

Parameters

[in] result The decoded barcodes result.

See Also

DecodedBarcodesResult

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 result)

Parameters

[in] result The recognized text lines result.

See Also

RecognizedTextLinesResult

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.

public virtual void OnProcessedDocumentResultReceived(ProcessedDocumentResult result)

Parameters

[in] result The processed document results.

See Also

ProcessedDocumentResult

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 result)

Parameters

[in] result The parsed result.

See Also

ParsedResult

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.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: