Dev Center
Swift
Objective-C
Table of contents

DSExtendedBarcodeResult

The DSExtendedBarcodeResult class represents an extended barcode result in a decoded barcode element. It contains information such as the type of extended barcode, deformation, clarity, and a sampling image of the barcode.

Definition

Assembly: DynamsoftBarcodeReader.framework

  • Objective-C
  • Swift
  1. @interface DSExtendedBarcodeResult: DSDecodedBarcodeElement
    
  2. class ExtendedBarcodeResult: DecodedBarcodeElement
    

Attributes

Attributes Type Description
extendedBarcodeResultType DSExtendedBarcodeResultType Get the type of the extended barcode result.
deformation NSInteger Get the deformation level of the barcode zone.
clarity NSInteger Get the clarity level of the barcode zone.
samplingImage DSImageData * Get the sampling image of the barcode zone.

Inherited Attributes

The following attributes are inherited from class DecodedBarcodeElement.

Attributes Type Description
text NSString * The text of the decoded barcode.
bytes NSData * The raw bytes of the decoded barcode.
isDPM BOOL Whether the barcode is a DPM (Direct Part Marking) barcode (decoded by DPMReadingMode).
isMirrored BOOL Whether the barcode is mirrored (decoded by MirrorMode).
format DSBarcodeFormat The format of the decoded barcode as a barcode format enumeration.
formatString NSString * The format of the decode barcode as a string.
angle NSInteger The orientation angle of the barcode.
moduleSize NSInteger The module size of the decoded barcode.
confidence NSInteger The confidence score of the barcode recognition result.
details DSBarcodeDetails * The details of the decoded barcode.
extendedBarcodeResults NSArray<DSExtendedBarcodeResult *> * An array of extended barcode results.

The following attributes are inherited from class DSRegionObjectElement.

Attributes Type Description
location DSQuadrilateral * The location info of the element that defined in DSQuadrilateral.
referencedElement DSRegionObjectElement * The referenced element that supports the capturing of this element.
regionObjectElementType DSRegionObjectElementType The type of the element.

extendedBarcodeResultType

Get the type of the extended barcode result.

  • Objective-C
  • Swift
  1. @property(nonatomic, assign, readonly) DSExtendedBarcodeResultType extendedBarcodeResultType;
    
  2. var extendedBarcodeResultType: ExtendedBarcodeResultType { get }
    

deformation

Get the deformation level of the barcode zone.

  • Objective-C
  • Swift
  1. @property(nonatomic, assign, readonly) NSInteger deformation;
    
  2. var deformation: Int { get }
    

clarity

Get the clarity level of the barcode zone.

  • Objective-C
  • Swift
  1. @property(nonatomic, assign, readonly) NSInteger clarity;
    
  2. var clarity: Int { get }
    

samplingImage

Get the sampling image of the barcode zone.

  • Objective-C
  • Swift
  1. @property(nonatomic, nullable, readonly) DSImageData *samplingImage;
    
  2. var samplingImage: ImageData? { get }
    

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version (10.2.10)
  • Version 10.x
    • Version 10.0.21
    • Version 10.0.20
  • Version 9.x
    • Version 9.6.20
    • Version 9.6.11
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.13
    • Version 9.2.11
    • Version 9.2.10
    • Version 9.0.2
    • Version 9.0.1
    • Version 9.0.0
  • Version 8.x
    • Version 8.9.3
    • Version 8.9.1
    • Version 8.9.0
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.1
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
  • Version 7.x
    • Version 7.6.0
    • Version 7.5.0
Change +