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.

DSIntermediateResultReceiver

The IntermediateResultReceiver class is designed as a standardized way for retrieving intermediate results in image processing workflows in the Dynamsoft Capture Vision architecture.

Definition

Assembly: DynamsoftCore.framework

  • Objective-C
  • Swift
  1. @protocol DSIntermediateResultReceiver <NSObject>
    
  2. protocol IntermediateResultReceiver: NSObjectProtocol
    

Methods

Method Description
getObservationParameters Gets the observed parameters of the intermediate result receiver.
onTaskResultsReceived The callback triggered when task results are received.
onPredetectedRegionsReceived The callback triggered when pre-detected regions are received.
onLocalizedBarcodesReceived The callback triggered when localized barcodes are received.
onDecodedBarcodesReceived The callback triggered when decoded barcodes are received.
onLocalizedTextLinesReceived The callback triggered when localized text lines are received.
onRecognizedTextLinesReceived The callback triggered when recognized text lines are received.
onDetectedQuadsReceived The callback triggered when detected quads are received.
onNormalizedImagesReceived The callback triggered when normalized images are received.
onColourImageUnitReceived The callback triggered when a colour image unit is received.
onScaledDownColourImageUnitReceived The callback triggered when a scaled-down colour image unit is received.
onGrayscaleImageUnitReceived The callback triggered when a grayscale image unit is received.
onTransformedGrayscaleImageUnitReceived The callback triggered when a transformed grayscale image unit is received.
onEnhancedGrayscaleImageUnitReceived The callback triggered when an enhanced grayscale image unit is received.
onBinaryImageUnitReceived The callback triggered when a binary image unit is received.
onTextureDetectionResultUnitReceived The callback triggered when a texture detection result unit is received.
onTextureRemovedGrayscaleImageUnitReceived The callback triggered when a texture-removed grayscale image unit is received.
onTextureRemovedBinaryImageUnitReceived The callback triggered when a texture-removed binary image unit is received.
onContoursUnitReceived The callback triggered when a contours unit is received.
onLineSegmentsUnitReceived The callback triggered when a line segments unit is received.
onTextZonesUnitReceived The callback triggered when a text zones unit is received.
onTextRemovedBinaryImageUnitReceived The callback triggered when a text-removed binary image unit is received.
onShortLinesUnitReceived The callback triggered when a short lines unit is received.
onLongLinesUnitReceived The callback triggered when a long lines unit is received.
onCornersUnitReceived The callback triggered when a corners unit is received.
onCandidateQuadEdgesUnitReceived The callback triggered when a candidate quad edges unit are detected.
onCandidateBarcodeZonesUnitReceived The callback triggered when a candidate barcode zones unit are detected.
onScaledUpBarcodeImageUnitReceived The callback triggered when a scaled-up barcode image unit is received.
onDeformationResistedBarcodeImageUnitReceived The callback triggered when a deformation-resisted barcode image unit is received.
onComplementedBarcodeImageUnitReceived The callback triggered when a complemented barcode image unit is received.

getObservationParameters

Get the observed parameters of the intermediate result receiver.

  • Objective-C
  • Swift
  1. -(ObservationParameters *)getObservationParameters;
    
  2. func getObservationParameters() -> ObservationParameters
    

Return Value

An ObservationParameters object.

onTaskResultsReceived

The callback triggered when task results are received.

  • Objective-C
  • Swift
  1. -(void)onTaskResultsReceived:(IntermediateResult *)unit
                        info:(DSIntermediateResultExtraInfo *)info
    
  2. func onTaskResultsReceived(_ unit: IntermediateResult, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result from the task, of type IntermediateResult.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onPredetectedRegionsReceived

The callback triggered when pre-detected regions are received.

  • Objective-C
  • Swift
  1. -(void)onPredetectedRegionsReceived:(PredetectedRegionsUnit *)unit
                               info:(IntermediateResultExtraInfo *)info
    
  2. func onPredetectedRegionsReceived(_ unit: PredetectedRegionsUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the pre-detected regions, of type PredetectedRegionsUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onLocalizedBarcodesReceived

The callback triggered when localized barcodes are received.

  • Objective-C
  • Swift
  1. -(void)onLocalizedBarcodesReceived:(LocalizedBarcodesUnit *)unit
                              info:(IntermediateResultExtraInfo *)info
    
  2. func onLocalizedBarcodesReceived(_ unit: LocalizedBarcodesUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the localized barcodes, of type LocalizedBarcodesUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onDecodedBarcodesReceived

The callback triggered when decoded barcodes are received.

  • Objective-C
  • Swift
  1. -(void)onDecodedBarcodesReceived:(DecodedBarcodesUnit *)unit
                            info:(IntermediateResultExtraInfo *)info
    
  2. func onDecodedBarcodesReceived(_ unit: DecodedBarcodesUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the decoded barcodes, of type DecodedBarcodesUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onLocalizedTextLinesReceived

The callback triggered when localized text lines are received.

  • Objective-C
  • Swift
  1. -(void)onLocalizedTextLinesReceived:(LocalizedTextLinesUnit *)unit
                               info:(IntermediateResultExtraInfo *)info
    
  2. func onLocalizedTextLinesReceived(_ unit: LocalizedTextLinesUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the localized text lines, of type LocalizedTextLinesUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onRecognizedTextLinesReceived

The callback triggered when recognized text lines are received.

  • Objective-C
  • Swift
  1. -(void)onRecognizedTextLinesReceived:(RecognizedTextLinesUnit *)unit
                                info:(IntermediateResultExtraInfo *)info
    
  2. func onRecognizedTextLinesReceived(_ unit: RecognizedTextLinesUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the recognized text lines, of type RecognizedTextLinesUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onDetectedQuadsReceived

The callback triggered when detected quads are received.

  • Objective-C
  • Swift
  1. -(void)onDetectedQuadsReceived:(DetectedQuadsUnit *)unit
                          info:(IntermediateResultExtraInfo *)info
    
  2. func onDetectedQuadsReceived(_ unit: DetectedQuadsUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the detected quads, of type DetectedQuadsUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onNormalizedImagesReceived

The callback triggered when normalized images are received.

  • Objective-C
  • Swift
  1. -(void)onNormalizedImagesReceived:(NormalizedImagesUnit *)unit
                             info:(IntermediateResultExtraInfo *)info
    
  2. func onNormalizedImagesReceived(_ unit: NormalizedImagesUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the normalized images, of type NormalizedImagesUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onColourImageUnitReceived

The callback triggered when colour images are received.

  • Objective-C
  • Swift
  1. -(void)onColourImageUnitReceived:(ColourImageUnit *)unit
                            info:(IntermediateResultExtraInfo *)info
    
  2. func onColourImageUnitReceived(_ unit: ColourImageUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the colour images, of type ColourImageUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onScaledDownColourImageUnitReceived

The callback triggered when scaled-down colour images are received.

  • Objective-C
  • Swift
  1. -(void)onScaledDownColourImageUnitReceived:(ScaledDownColourImageUnit *)unit
                                      info:(IntermediateResultExtraInfo *)info
    
  2. func onScaledDownColourImageUnitReceived(_ unit: ScaledDownColourImageUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the scaled-down colour images, of type ScaledDownColourImageUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onGrayscaleImageUnitReceived

The callback triggered when grayscale images are received.

  • Objective-C
  • Swift
  1. -(void)onGrayscaleImageUnitReceived:(GrayscaleImageUnit *)unit
                               info:(IntermediateResultExtraInfo *)info
    
  2. func onGrayscaleImageUnitReceived(_ unit: GrayscaleImageUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the grayscale images, of type GrayscaleImageUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onTransformedGrayscaleImageUnitReceived

The callback triggered when transformed grayscale images are received.

  • Objective-C
  • Swift
  1. -(void)onTransformedGrayscaleImageUnitReceived:(TransformedGrayscaleImageUnit *)unit
                                          info:(IntermediateResultExtraInfo *)info
    
  2. func onTransformedGrayscaleImageUnitReceived(_ unit: TransformedGrayscaleImageUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the transformed grayscale images, of type TransformedGrayscaleImageUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onEnhancedGrayscaleImageUnitReceived

The callback triggered when enhanced grayscale images are received.

  • Objective-C
  • Swift
  1. -(void)onEnhancedGrayscaleImageUnitReceived:(EnhancedGrayscaleImageUnit *)unit
                                       info:(IntermediateResultExtraInfo *)info
    
  2. func onEnhancedGrayscaleImageUnitReceived(_ unit: EnhancedGrayscaleImageUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the enhanced grayscale images, of type EnhancedGrayscaleImageUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onBinaryImageUnitReceived

The callback triggered when binary images are received.

  • Objective-C
  • Swift
  1. -(void)onBinaryImageUnitReceived:(BinaryImageUnit *)unit
                            info:(IntermediateResultExtraInfo *)info
    
  2. func onBinaryImageUnitReceived(_ unit: BinaryImageUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the binary images, of type BinaryImageUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onTextureDetectionResultUnitReceived

The callback triggered when texture detection results are received.

  • Objective-C
  • Swift
  1. -(void)onTextureDetectionResultUnitReceived:(TextureDetectionResultUnit *)unit
                                       info:(IntermediateResultExtraInfo *)info
    
  2. func onTextureDetectionResultUnitReceived(_ unit: TextureDetectionResultUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the texture detection results, of type TextureDetectionResultUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onTextureRemovedGrayscaleImageUnitReceived

The callback triggered when texture removed grayscale images are received.

  • Objective-C
  • Swift
  1. -(void)onTextureRemovedGrayscaleImageUnitReceived:(TextureRemovedGrayscaleImageUnit *)unit
                                             info:(IntermediateResultExtraInfo *)info
    
  2. func onTextureRemovedGrayscaleImageUnitReceived(_ unit: TextureRemovedGrayscaleImageUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the texture removed grayscale images, of type TextureRemovedGrayscaleImageUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onTextureRemovedBinaryImageUnitReceived

The callback triggered when texture removed binary images are received.

  • Objective-C
  • Swift
  1. -(void)onTextureRemovedBinaryImageUnitReceived:(TextureRemovedBinaryImageUnit *)unit
                                          info:(IntermediateResultExtraInfo *)info
    
  2. func onTextureRemovedBinaryImageUnitReceived(_ unit: TextureRemovedBinaryImageUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the texture removed binary images, of type TextureRemovedBinaryImageUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onContoursUnitReceived

The callback triggered when contours are received.

  • Objective-C
  • Swift
  1. -(void)onContoursUnitReceived:(ContoursUnit *)unit
                         info:(DSIntermediateResultExtraInfo *)info
    
  2. func onContoursUnitReceived(_ unit: ContoursUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the contours, of type ContoursUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onShortLinesUnitReceived

The callback triggered when short lines are received.

  • Objective-C
  • Swift
  1. - (void)onShortLinesUnitReceived:(DSShortLinesUnit*) unit
                            info:(DSIntermediateResultExtraInfo *)info;
    
  2. func onShortLinesUnitReceived(_ unit: ShortLinesUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the short lines, of type DSShortLinesUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onLineSegmentsUnitReceived

The callback triggered when line segments are received.

  • Objective-C
  • Swift
  1. -(void)onLineSegmentsUnitReceived:(LineSegmentsUnit *)unit
                             info:(DSIntermediateResultExtraInfo *)info
    
  2. func onLineSegmentsUnitReceived(_ unit: LineSegmentsUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the line segments, of type LineSegmentsUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onTextZonesUnitReceived

The callback triggered when text zones are received.

  • Objective-C
  • Swift
  1. -(void)onTextZonesUnitReceived:(TextZonesUnit *)unit
                          info:(DSIntermediateResultExtraInfo *)info
    
  2. func onTextZonesUnitReceived(_ unit: TextZonesUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the text zones, of type TextZonesUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onTextRemovedBinaryImageUnitReceived

The callback triggered when text removed binary images are received.

  • Objective-C
  • Swift
  1. -(void)onTextRemovedBinaryImageUnitReceived:(TextRemovedBinaryImageUnit *)unit
                                       info:(DSIntermediateResultExtraInfo *)info
    
  2. func onTextRemovedBinaryImageUnitReceived(_ unit: TextRemovedBinaryImageUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the text removed binary images, of type TextRemovedBinaryImageUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onLongLinesUnitReceived

The callback triggered when long lines are received.

  • Objective-C
  • Swift
  1. -(void)onLongLinesUnitReceived:(LongLinesUnit *)unit
                          info:(DSIntermediateResultExtraInfo *)info
    
  2. func onLongLinesUnitReceived(_ unit: LongLinesUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the long lines, of type LongLinesUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onCornersUnitReceived

The callback triggered when corners are received.

  • Objective-C
  • Swift
  1. -(void)onCornersUnitReceived:(CornersUnit *)unit
                        info:(DSIntermediateResultExtraInfo *)info
    
  2. func onCornersUnitReceived(_ unit: CornersUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the corners, of type CornersUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onCandidateQuadEdgesUnitReceived

The callback triggered when candidate quad edges are received.

  • Objective-C
  • Swift
  1. -(void)onCandidateQuadEdgesUnitReceived:(CandidateQuadEdgesUnit *)unit
                                   info:(DSIntermediateResultExtraInfo *)info
    
  2. func onCandidateQuadEdgesUnitReceived(_ unit: CandidateQuadEdgesUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the candidate quad edges, of type CandidateQuadEdgesUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onCandidateBarcodeZonesUnitReceived

The callback triggered when candidate barcode zones are received.

  • Objective-C
  • Swift
  1. -(void)onCandidateBarcodeZonesUnitReceived:(CandidateBarcodeZonesUnit *)unit
                                      info:(DSIntermediateResultExtraInfo *)info
    
  2. func onCandidateBarcodeZonesUnitReceived(_ unit: CandidateBarcodeZonesUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the candidate barcode zones, of type CandidateBarcodeZonesUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onScaledUpBarcodeImageUnitReceived

The callback triggered when scaled up barcode images are received.

  • Objective-C
  • Swift
  1. -(void)onScaledUpBarcodeImageUnitReceived:(ScaledUpBarcodeImageUnit *)unit
                                     info:(DSIntermediateResultExtraInfo *)info
    
  2. func onScaledUpBarcodeImageUnitReceived(_ unit: ScaledUpBarcodeImageUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the scaled up barcode images, of type ScaledUpBarcodeImageUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onDeformationResistedBarcodeImageUnitReceived

The callback triggered when deformation resisted barcode images are received.

  • Objective-C
  • Swift
  1. -(void)onDeformationResistedBarcodeImageUnitReceived:(DeformationResistedBarcodeImageUnit *)unit
                                                info:(DSIntermediateResultExtraInfo *)info
    
  2. func onDeformationResistedBarcodeImageUnitReceived(_ unit: DeformationResistedBarcodeImageUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the deformation resisted barcode images, of type DeformationResistedBarcodeImageUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

onComplementedBarcodeImageUnitReceived

The callback triggered when complemented barcode images are received.

  • Objective-C
  • Swift
  1. -(void)onComplementedBarcodeImageUnitReceived:(ComplementedBarcodeImageUnit *)unit
                                         info:(DSIntermediateResultExtraInfo *)info
    
  2. func onComplementedBarcodeImageUnitReceived(_ unit: ComplementedBarcodeImageUnit, info: IntermediateResultExtraInfo)
    

Parameters

unit: The intermediate result that contains the complemented barcode images, of type ComplementedBarcodeImageUnit.

info: Additional information about the result, of type IntermediateResultExtraInfo.

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.13
      • Version 1.1.12
      • 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