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
@interface DSExtendedBarcodeResult: DSDecodedBarcodeElement
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
@property(nonatomic, assign, readonly) DSExtendedBarcodeResultType extendedBarcodeResultType;
var extendedBarcodeResultType: ExtendedBarcodeResultType { get }
deformation
Get the deformation level of the barcode zone.
- Objective-C
- Swift
@property(nonatomic, assign, readonly) NSInteger deformation;
var deformation: Int { get }
clarity
Get the clarity level of the barcode zone.
- Objective-C
- Swift
@property(nonatomic, assign, readonly) NSInteger clarity;
var clarity: Int { get }
samplingImage
Get the sampling image of the barcode zone.
- Objective-C
- Swift
@property(nonatomic, nullable, readonly) DSImageData *samplingImage;
var samplingImage: ImageData? { get }