| layout | default-layout |
|---|---|
| title | class CIntermediateResultReceiver - Dynamsoft Core Module C++ Edition API Reference |
| description | The class CIntermediateResultReceiver of CaptureVisionRouter module C++ edition is responsible for receiving intermediate results. |
| keywords | intermediate result receiver, c++ |
| needAutoGenerateSidebar | true |
The CIntermediateResultReceiver class is responsible for receiving intermediate results of different types. It provides virtual functions for each type of result, which are called when the corresponding result is received.
Namespace: dynamsoft::cvr
Assembly: DynamsoftCaptureVisionRouter
class CIntermediateResultReceiver | Method | Description |
|---|---|
GetObservationParameters |
Gets the observation parameters of the intermediate result receiver. |
OnTaskResultsReceived |
Called when a task result has been received. |
OnPredetectedRegionsReceived |
Called when predetected regions have been received. |
OnLocalizedBarcodesReceived |
Called when localized barcodes have been received. |
OnDecodedBarcodesReceived |
Called when decoded barcodes have been received. |
OnLocalizedTextLinesReceived |
Called when localized text lines have been received. |
OnRecognizedTextLinesReceived |
Called when recognized text lines have been received. |
OnDetectedQuadsReceived |
Called when detected quadrilaterals have been received. |
OnDeskewedImageReceived |
Called when deskewed images have been received. |
OnColourImageUnitReceived |
Called when colour image units have been received. |
OnScaledColourImageUnitReceived |
Called when scaled colour image units have been received. |
OnGrayscaleImageUnitReceived |
Called when grayscale image units have been received. |
OnTransformedGrayscaleImageUnitReceived |
Called when transformed grayscale image units have been received. |
OnEnhancedGrayscaleImageUnitReceived |
Called when enhanced grayscale image units have been received. |
OnBinaryImageUnitReceived |
Called when binary image units have been received. |
OnTextureDetectionResultUnitReceived |
Called when texture detection result units have been received. |
OnTextureRemovedGrayscaleImageUnitReceived |
Called when texture removed grayscale image units have been received. |
OnTextureRemovedBinaryImageUnitReceived |
Called when texture removed binary image units have been received. |
OnContoursUnitReceived |
Called when contour units have been received. |
OnLineSegmentsUnitReceived |
Called when line segment units have been received. |
OnTextZonesUnitReceived |
Called when text zone units have been received. |
OnTextRemovedBinaryImageUnitReceived |
Called when text removed binary image units have been received. |
OnLongLinesUnitReceived |
Called when long line units have been received. |
OnCornersUnitReceived |
Called when corner units have been received. |
OnCandidateQuadEdgesUnitReceived |
Called when candidate quadrilateral edge units have been received. |
OnCandidateBarcodeZonesUnitReceived |
Called when candidate barcode zone units have been received. |
OnScaledBarcodeImageUnitReceived |
Called when scaled barcode image units have been received. |
OnDeformationResistedBarcodeImageUnitReceived |
Called when deformation resisted barcode image units have been received. |
OnComplementedBarcodeImageUnitReceived |
Called when complemented barcode image units have been received. |
OnShortLinesUnitReceived |
Called when short line units have been received. |
OnRawTextLinesUnitReceived |
Called when raw text lines have been received. |
OnLogicLinesUnitReceived |
Called when logic lines have been received. |
OnEnhancedImageReceived |
Called when enhanced images have been received. |
OnTargetROIResultsReceived |
Called when all tasks for the target ROI are completed and the results are deduplicated. |
Gets the observation parameters of the intermediate result receiver.
CObservationParameters* GetObservationParameters()Return value
Returns the object of CObservationParameters. The default parameters are to observe all intermediate result unit types and all tasks.
See Also
[CObservationParameters]({{ site.dcvb_cpp_api }}core/intermediate-results/observed-parameters.html)
Called when a task result has been received.
virtual void OnTaskResultsReceived(CIntermediateResult *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the CIntermediateResult object that contains several result units.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CIntermediateResult]({{ site.dcvb_cpp_api }}core/intermediate-results/intermediate-result.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when predetected regions have been received.
virtual void OnPredetectedRegionsReceived(CPredetectedRegionsUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the CPredetectedRegionsUnit object that contains the result.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CPredetectedRegionsUnit]({{ site.dcvb_cpp_api }}core/intermediate-results/predetected-regions-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when localized barcodes have been received.
virtual void OnLocalizedBarcodesReceived(dbr::intermediate_results::CLocalizedBarcodesUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the CLocalizedBarcodesUnit object that contains the result.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CLocalizedBarcodesUnit]({{ site.dbr_cpp_api }}localized-barcodes-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when decoded barcodes have been received.
virtual void OnDecodedBarcodesReceived(dbr::intermediate_results::CDecodedBarcodesUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the CDecodedBarcodesUnit object that contains the result.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CDecodedBarcodesUnit]({{ site.dbr_cpp_api }}decoded-barcodes-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when localized text lines have been received.
virtual void OnLocalizedTextLinesReceived(dlr::intermediate_results::CLocalizedTextLinesUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the CLocalizedTextLinesUnit object that contains the result.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CLocalizedTextLinesUnit]({{ site.dlr_cpp_api }}localized-text-lines-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when recognized text lines have been received.
virtual void OnRecognizedTextLinesReceived(dlr::intermediate_results::CRecognizedTextLinesUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the CRecognizedTextLinesUnit object that contains the result.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CRecognizedTextLinesUnit]({{ site.dlr_cpp_api }}recognized-text-lines-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when detected quadrilaterals have been received.
virtual void OnDetectedQuadsReceived(ddn::intermediate_results::CDetectedQuadsUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the CDetectedQuadsUnit object that contains the result.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CDetectedQuadsUnit]({{ site.ddn_cpp_api }}detected-quads-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when deskewed images have been received.
virtual void OnDeskewedImageReceived(ddn::intermediate_results::CDeskewedImageUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the CDeskewedImageUnit object that contains the result.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CDeskewedImageUnit]({{ site.ddn_cpp_api }}deskewed-image-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when colour image units have been received.
virtual void OnColourImageUnitReceived(CColourImageUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the received colour image unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CColourImageUnit]({{ site.dcvb_cpp_api }}core/intermediate-results/colour-image-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Handles the receipt of a scaled colour image unit.
virtual void OnScaledColourImageUnitReceived(CScaledColourImageUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the received scaled colour image unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CScaledColourImageUnit]({{ site.dcvb_cpp_api }}core/intermediate-results/scaled-colour-image-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Handles the receipt of a grayscale image unit.
virtual void OnGrayscaleImageUnitReceived(CGrayscaleImageUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the received grayscale image unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CGrayscaleImageUnit]({{ site.dcvb_cpp_api }}core/intermediate-results/grayscale-image-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Handles the receipt of a transformed grayscale image unit.
virtual void OnTransformedGrayscaleImageUnitReceived(CTransformedGrayscaleImageUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the received transformed grayscale image unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CTransformedGrayscaleImageUnit]({{ site.dcvb_cpp_api }}core/intermediate-results/transformed-grayscale-image-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Handles the receipt of an enhanced grayscale image unit.
virtual void OnEnhancedGrayscaleImageUnitReceived(CEnhancedGrayscaleImageUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the received enhanced grayscale image unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CEnhancedGrayscaleImageUnit]({{ site.dcvb_cpp_api }}core/intermediate-results/enhanced-grayscale-image-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Handles the receipt of a binary image unit.
virtual void OnBinaryImageUnitReceived(CBinaryImageUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the received binary image unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CBinaryImageUnit]({{ site.dcvb_cpp_api }}core/intermediate-results/binary-image-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Handles the receipt of a texture detection result unit.
virtual void OnTextureDetectionResultUnitReceived(CTextureDetectionResultUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the received texture detection result unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CTextureDetectionResultUnit]({{ site.dcvb_cpp_api }}core/intermediate-results/texture-detection-result-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Handles the receipt of a texture-removed grayscale image unit.
virtual void OnTextureRemovedGrayscaleImageUnitReceived(CTextureRemovedGrayscaleImageUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the received texture-removed grayscale image unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CTextureRemovedGrayscaleImageUnit]({{ site.dcvb_cpp_api }}core/intermediate-results/texture-removed-grayscale-image-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Handles the receipt of a texture-removed binary image unit.
virtual void OnTextureRemovedBinaryImageUnitReceived(CTextureRemovedBinaryImageUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the received texture-removed binary image unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CTextureRemovedBinaryImageUnit]({{ site.dcvb_cpp_api }}core/intermediate-results/texture-removed-binary-image-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Handles the receipt of a contours unit.
virtual void OnContoursUnitReceived(CContoursUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the contours unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CContoursUnit]({{ site.dcvb_cpp_api }}core/intermediate-results/contours-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when a line segments unit is received.
virtual void OnLineSegmentsUnitReceived(CLineSegmentsUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the line segments unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CLineSegmentsUnit]({{ site.dcvb_cpp_api }}core/intermediate-results/line-segments-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when a text zones unit is received.
virtual void OnTextZonesUnitReceived(CTextZonesUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the text zones unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CTextZonesUnit]({{ site.dcvb_cpp_api }}core/intermediate-results/text-zones-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when a text removed binary image unit is received.
virtual void OnTextRemovedBinaryImageUnitReceived(CTextRemovedBinaryImageUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the text removed binary image unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CTextRemovedBinaryImageUnit]({{ site.dcvb_cpp_api }}core/intermediate-results/text-removed-binary-image-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when a long lines unit is received.
virtual void OnLongLinesUnitReceived(ddn::intermediate_results::CLongLinesUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the long lines unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CLongLinesUnit]({{ site.ddn_cpp_api }}long-lines-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when a corners unit is received.
virtual void OnCornersUnitReceived(ddn::intermediate_results::CCornersUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the corners unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CCornersUnit]({{ site.ddn_cpp_api }}corners-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when a candidate quad edges unit is received.
virtual void OnCandidateQuadEdgesUnitReceived(ddn::intermediate_results::CCandidateQuadEdgesUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the candidate quad edges unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CCandidateQuadEdgesUnit]({{ site.ddn_cpp_api }}candidate-quad-edges-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when a candidate barcode zones unit is received.
virtual void OnCandidateBarcodeZonesUnitReceived(dbr::intermediate_results::CCandidateBarcodeZonesUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the candidate barcode zones unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CCandidateBarcodeZonesUnit]({{ site.dbr_cpp_api }}candidate-barcode-zones-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when a scaled barcode image unit is received.
virtual void OnScaledBarcodeImageUnitReceived(dbr::intermediate_results::CScaledBarcodeImageUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the scaled barcode image unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CScaledBarcodeImageUnit]({{ site.dbr_cpp_api }}scaled-barcode-image-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when a deformation resisted barcode image unit is received.
virtual void OnDeformationResistedBarcodeImageUnitReceived(dbr::intermediate_results::CDeformationResistedBarcodeImageUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the deformation resisted barcode image unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CDeformationResistedBarcodeImageUnit]({{ site.dbr_cpp_api }}deformation-resisted-barcode-image-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when a complemented barcode image unit is received.
virtual void OnComplementedBarcodeImageUnitReceived(dbr::intermediate_results::CComplementedBarcodeImageUnit *pResult,const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the complemented barcode image unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CComplementedBarcodeImageUnit]({{ site.dbr_cpp_api }}complemented-barcode-image-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when short lines units have been received.
virtual void OnShortLinesUnitReceived(CShortLinesUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the received short lines unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CShortLinesUnit]({{ site.dcvb_cpp_api }}core/intermediate-results/short-lines-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when raw text lines have been received.
virtual void OnRawTextLinesUnitReceived(dlr::intermediate_results::CRawTextLinesUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the CRawTextLinesUnit object that contains the result.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CRawTextLinesUnit]({{ site.dlr_cpp_api }}raw-text-lines-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when logic lines have been received.
virtual void OnLogicLinesUnitReceived(ddn::intermediate_results::CLogicLinesUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the CLogicLinesUnit object that contains the result.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CLogicLinesUnit]({{ site.ddn_cpp_api }}logic-lines-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when an enhanced image unit is received.
virtual void OnEnhancedImageReceived(ddn::intermediate_results::CEnhancedImageUnit *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the enhanced image unit.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CEnhancedImageUnit]({{ site.ddn_cpp_api }}enhanced-image-unit.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)
Called when all tasks for the target ROI are completed and the results are deduplicated.
virtual void OnTargetROIResultsReceived(CIntermediateResult *pResult, const IntermediateResultExtraInfo* info)Parameters
[in] pResult A pointer to the CIntermediateResult object that contains the result.
[in] info A pointer to the IntermediateResultExtraInfo object that contains the extra info of intermediate result.
See Also
[CIntermediateResult]({{ site.dcvb_cpp_api }}core/intermediate-results/intermediate-result.html)
[IntermediateResultExtraInfo]({{ site.dcvb_cpp_api }}core/structs/intermediate-result-extra-info.html)