Resource Base
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

Your download will start shortly. If your download does not begin, click here to retry.

DSCapturedResultReceiver

The DSCapturedResultReceiver interface is designed as a standardized way for retrieving captured results in the Dynamsoft Capture Vision architecture. By implementing the DSCapturedResultReceiver, you will receive the callback of the various types of captured results, such as original image, decoded barcode, recognized text line, detected quad, normalized image, or parsed data. The DSCapturedResultReceiver can add a receiver for any type of captured result or for a specific type of captured result, based on the method that is implemented.

Definition

Assembly: DynamsoftCore.framework

  • Objective-C
  • Swift
  1. @protocol DSCapturedResultReceiver <NSObject>
    
  2. protocol CapturedResultReceiver: NSObjectProtocol
    

Methods

Method Description
onCapturedResultReceived The callback triggered when a generic captured result is available, occurring each time an image finishes its processing.
onOriginalImageResultReceived The callback triggered when the original image result is available, occurring each time an image finishes its processing.
onDecodedBarcodesReceived The callback triggered when decoded barcodes are available, occurring each time an image finishes its processing.
onRecognizedTextLinesReceived The callback triggered when recognized text lines are available, occurring each time an image finishes its processing.
onDetectedQuadsReceived The callback triggered when detected quads are available, occurring each time an image finishes its processing.
onNormalizedImagesReceived The callback triggered when normalized images are available, occurring each time an image finishes its processing.
onParsedResultsReceived The callback triggered when parsed results are available, occurring each time an image finishes its processing.

onCapturedResultReceived

The callback method triggered when a generic captured result is available, occurring each time an image finishes its processing. This callback can be used for any result that does not fit into the specific categories of the other callbacks.

  • Objective-C
  • Swift
  1. - (void)onCapturedResultReceived:(DSCapturedResult*)result;
    
  2. func onCapturedResultReceived(_ result: DSCapturedResult)
    

Parameters

result : A DSCapturedResult object as a captured result.

onOriginalImageResultReceived

The callback method triggered when the original image result is available, occurring each time an image finishes its processing. This callback is used to handle the original image that used as the input of this capture process.

  • Objective-C
  • Swift
  1. - (void)onOriginalImageResultReceived:(DSOriginalImageResultItem*)result;
    
  2. func onOriginalImageResultReceived(_ result: DSOriginalImageResultItem)
    

Parameters

result : A DSOriginalImageResultItem object as a original image result.

onDecodedBarcodesReceived

The callback triggered when decoded barcodes are available, occurring each time an image finishes its processing. This callback is used to handle barcodes that have been successfully decoded by Dynamsoft Barcode Reader

  • Objective-C
  • Swift
  1. - (void)onDecodedBarcodesReceived:(DSDecodedBarcodesResult*)result;
    
  2. func onDecodedBarcodesReceived(_ result: DSDecodedBarcodesResult)
    

Parameters

result : A DSDecodedBarcodesResult object as a decoded barcode result.

onRecognizedTextLinesReceived

The callback triggered when recognized text lines are available, occurring each time an image finishes its processing. This callback is used to handle the result of text recognition by Dynamsoft Label Recognizer.

  • Objective-C
  • Swift
  1. - (void)onRecognizedTextLinesReceived:(DSRecognizedTextLinesResult*)result;
    
  2. func onRecognizedTextLinesReceived(_ result: DSRecognizedTextLinesResult)
    

Parameters

result : A DSRecognizedTextLinesResult object as a recognized text line result.

onDetectedQuadsReceived

The callback triggered when detected quads are available, occurring each time an image finishes its processing. This callback is used to handle the detection of quadrilateral shapes, typically used as document boundaries, by Dynamsoft Document Normalizer.

  • Objective-C
  • Swift
  1. - (void)onDetectedQuadsReceived:(DSDetectedQuadsResult*)result;
    
  2. func onDetectedQuadsReceived(_ result: DSDetectedQuadsResult)
    

Parameters

result : A DSDetectedQuadsResult object as a detected quad result.

onNormalizedImagesReceived

The callback triggered when normalized images are available, occurring each time an image finishes its processing. This callback is used for handling images that have been processed or normalized (e.g., corrected for skew or perspective), by Dynamsoft Document Normalizer.

  • Objective-C
  • Swift
  1. - (void)onNormalizedImagesReceived:(DSNormalizedImagesResult*)result;
    
  2. func onNormalizedImagesReceived(_ result: DSNormalizedImagesResult)
    

Parameters

result : A DSNormalizedImagesResult object as a normalized image result.

onParsedResultsReceived

The callback triggered when parsed results are available, occurring each time an image finishes its processing. This callback is used for handling results that have been parsed into a structured format by Dynamsoft Code Parser.

  • Objective-C
  • Swift
  1. - (void)onParsedResultsReceived:(DSParsedResult*)result;
    
  2. func onParsedResultsReceived(_ result: DSParsedResult)
    

Parameters

result : A DSParsedResult object as a parsed result.

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    • Version 2.x
      • Version 2.2.10
      • Version 2.0.21
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.2.10
      • Version 2.0.21
      • Version 2.0.20
      • Version 2.0.10
    • Version 1.x
      • Version 1.2.1
      • Version 1.2.0
      • Version 1.1.0
      • Version 1.0.0
      • Version 1.0.4
      • Version 1.0.3
      • Version 1.0.2
      • Version 1.0.1
      • Version 1.0.0
      • Version 1.1.11
      • Version 1.1.9
      • Version 1.1.8
      • Version 1.1.7
      • Version 1.1.6
      • Version 1.1.5
      • Version 1.1.4
      • Version 1.1.3
      • Version 1.1.2
      • Version 1.1.1
      • Version 1.1.0
      • Version 1.0.0
      • Version 1.0.4
      • Version 1.0.3
      • Version 1.0.2
      • Version 1.0.1
      • Version 1.0.0
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support