Resource Base
Table of contents

CapturedResultFilter

The CapturedResultReceiver class is designed as a standardized way for retrieving captured results in the Dynamsoft Capture Vision architecture. It adopts an event-driven approach, with events dedicated to various result types, such as the original image, decoded barcodes, recognized text lines, detected quads, normalized images, and parsed results, etc.

class CapturedResultReceiver {
    onCapturedResultReceived?(result: CapturedResult): void;
    onOriginalImageResultReceived?(result: OriginalImageResultItem): void;
    onDecodedBarcodesReceived?(result: DecodedBarcodesResult): void;
    onRecognizedTextLinesReceived?(result: RecognizedTextLinesResult):void;
    onDetectedQuadsReceived?(result: DetectedQuadsResult): void;
    onNormalizedImagesReceived?(result: NormalizedImagesResult): void;
    onParsedResultsReceived?(result: ParsedResult): void;
} 

The CapturedResultFilter interface defines the standard way to get processing 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.

OnOriginalImageResultReceived

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

onOriginalImageResultReceived(result: Core.OriginalImageResultItem): void;

Parameters

result: The original image result.

OnDecodedBarcodesReceived

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

onDecodedBarcodesReceived(result: DBR.DecodedBarcodesResult): void;

Parameters

result: The decoded barcodes result.

OnRecognizedTextLinesReceived

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

onRecognizedTextLinesReceived(result: DLR.RecognizedTextLinesResult): void;

Parameters

result: The recognized text lines result.

OnDetectedQuadsReceived

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

onDetectedQuadsReceived(result: DDN.DetectedQuadsResult): void;

Parameters

result: The detected quads result.

OnNormalizedImagesReceived

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

onNormalizedImagesReceived(result: DDN.NormalizedImagesResult): void;

Parameters

result: The normalized images result.

OnParsedResultsReceived

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

onParsedResultsReceived(result: DCP.ParsedResult): void;

Parameters

result: The parsed result.

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version(2.2.30)
    • Version 2.x
      • Version 2.2.10
      • Version 2.0.30
      • Version 2.0.20
      • Version 2.0.10
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support