Resource Base
Table of contents

CCapturedResultFilter

The CCapturedResultFilter class is responsible for filtering 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.

Note: Currently, user defined CCapturedResultFilter is not supported.

Definition

Namespace: dynamsoft::cvr

Assembly: DynamsoftCaptureVisionRouter

class CCapturedResultFilter 

Methods Summary

Method Description
CCapturedResultFilter Constructor
~CCapturedResultFilter Destructor
GetFilteredResultItemTypes Gets the types of observed result items.
OnOriginalImageResultReceived Callback function for original image results.
OnDecodedBarcodesReceived Callback function for decoded barcodes results.
OnRecognizedTextLinesReceived Callback function for recognized text lines results.
OnDetectedQuadsReceived Callback function for detected quads results.
OnNormalizedImagesReceived Callback function for normalized images results.
OnParsedResultsReceived Callback function for parsed results.
GetName Gets the name of the captured result filter.
SetName Sets the name of the captured result filter.

CCapturedResultFilter Constructor

Constructor.

CCapturedResultFilter()

CCapturedResultFilter Destructor

Destructor.

virtual ~CCapturedResultFilter()

GetFilteredResultItemTypes

Gets the types of filtered result items.

unsigned int GetFilteredResultItemTypes()

Return value

Returns the type CapturedResultItemType of filtered result items.

OnOriginalImageResultReceived

Callback function for original image results. It will be called once for each original image result.

virtual void OnOriginalImageResultReceived(COriginalImageResultItem* pResult)

Parameters

[in] pResult The original image result.

OnDecodedBarcodesReceived

Callback function for decoded barcodes results. It will be called once for each decoded barcodes result.

virtual void OnDecodedBarcodesReceived(dbr::CDecodedBarcodesResult* pResult)

Parameters

[in] pResult The decoded barcodes result.

OnRecognizedTextLinesReceived

Callback function for recognized text lines results. It will be called once for each recognized text lines result.

virtual void OnRecognizedTextLinesReceived(dlr::CRecognizedTextLinesResult* pResult)

Parameters

[in] pResult The recognized text lines result.

OnDetectedQuadsReceived

Callback function for detected quads results. It will be called once for each detected quads result.

virtual void OnDetectedQuadsReceived(ddn::CDetectedQuadsResult* pResult)

Parameters

[in] pResult The detected quads result.

OnNormalizedImagesReceived

Callback function for normalized images results. It will be called once for each normalized images result.

virtual void OnNormalizedImagesReceived(ddn::CNormalizedImagesResult* pResult)

Parameters

[in] pResult The normalized images result.

OnParsedResultsReceived

Callback function for parsed results. It will be called once for each parsed result.

virtual void OnParsedResultsReceived(dcp::CParsedResult* pResult)

Parameters

[in] pResult The parsed result.

GetName

Gets the name of the captured result filter.

const char* GetName() const

Return value

Returns the name of the captured result filter.

SetName

Sets the name of the captured result filter.

void SetName(const char* name)

Parameters

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

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

    Change +