Dev Center
Swift
Objective-C
Table of contents

DSLocalizedBarcodeElement Class

The DSLocalizedBarcodeElement class represents a localized barcode element detected in an image. It is inherited from DSRegionObjectElement class.

Definition

Assembly: DynamsoftBarcodeReader.framework

  • Objective-C
  • Swift
  1. @interface DSLocalizedBarcodeElement : DSRegionObjectElement
    
  2. class LocalizedBarcodeElement : RegionObjectElement
    

Inheritance

DSLocalizedBarcodeElement inherits from DSRegionObjectElement.

Attributes

Attributes Type Description
possibleFormats DSBarcodeFormat All possible formats of the localized barcode.
possibleFormatsString NSString * All possible formats of the localized barcode in one string. Splited by “,”.
confidence NSInteger The confidence of the localized barcode zone. It represents the confidence that the positioning area is a barcode.
angle NSInteger The angle of the localized barcode zone.
moduleSize NSInteger The module size of the localized barcode.

Inherited Attributes

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.

possibleFormats

All possible formats of the localized barcode.

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

possibleFormatsString

All possible formats of the localized barcode in one string. Splited by “,”.

  • Objective-C
  • Swift
  1. @property(nonatomic, copy, nullable, readonly) NSString *possibleFormatsString;
    
  2. var possibleFormatsString: String? { get }
    

confidence

The confidence of the localized barcode zone. It represents the confidence that the positioning area is a barcode.

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

angle

The angle of the localized barcode zone.

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

moduleSize

The module size of the localized barcode.

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

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

version 10.0.21

  • Latest version (10.2.10)
  • Version 10.x
    • Version 10.0.21
    • Version 10.0.20
  • Version 9.x
    • Version 9.6.40
    • 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 +