DSLocalizedBarcodeElement Class
The DSLocalizedBarcodeElement
class represents a localized barcode element detected in an image. It is inherited from DSRegionObjectElement
class.
Definition
Assembly: DynamsoftBarcodeReader.xcframework
- Objective-C
- Swift
@interface DSLocalizedBarcodeElement : DSRegionObjectElement
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. |
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
@property(nonatomic, assign, readonly) DSBarcodeFormat possibleFormats;
var possibleFormats: DSBarcodeFormat { get }
possibleFormatsString
All possible formats of the localized barcode in one string. Splited by “,”.
- Objective-C
- Swift
@property(nonatomic, copy, nullable, readonly) NSString *possibleFormatsString;
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
@property(nonatomic, assign, readonly) NSInteger confidence;
var confidence: Int { get }
angle
The angle of the localized barcode zone.
- Objective-C
- Swift
@property(nonatomic, assign, readonly) NSInteger angle;
var angle: Int { get }
moduleSize
The module size of the localized barcode.
- Objective-C
- Swift
@property(nonatomic, assign, readonly) NSInteger moduleSize;
var moduleSize: Int { get }