DSScaledUpBarcodeImageUnit Class
DSScaledUpBarcodeImageUnit extends the DSIntermediateResultUnit that represents a unit which contains a scaled-up barcode image.
Definition
Assembly: DynamsoftCaptureVisionBundle.xcframework
- Objective-C
- Swift
@interface DSScaledUpBarcodeImageUnit: DSIntermediateResultUnitclass ScaledUpBarcodeImageUnit: DSIntermediateResultUnit
Methods
| Methods | Description |
|---|---|
getImageData |
Returns the DSImageData of the scaled-up barcode image |
setImageData |
Sets the scaled-up barcode image of the unit. |
The following methods are inherited from class DSIntermediateResultUnit.
| Method | Description |
|---|---|
getHashId |
Gets the hash ID of the unit. |
getOriginalImageHashId |
Gets the hash ID of the original image. |
getOriginalImageTag |
Gets the image tag of the original image. |
getType |
Gets the type of the intermediate result unit. |
getTransformMatrix |
Gets the transformation matrix via DSTransformMatrixType. |
clone |
Creates a copy of the intermediate result unit. |
replace |
Replaces the content of the intermediate result unit. |
getImageData
Returns the DSImageData of the scaled-up barcode image.
- Objective-C
- Swift
-(nullable DSImageData *)getImageData;func getImageData() -> DSImageData?
Return value
A DSImageData object representing the scaled-up barcode image.
setImageData
Sets the scaled-up barcode image of the unit.
- Objective-C
- Swift
-(NSInteger)setImageData:(DSImageData *)imageData;func setImageData(_ imageData: DSImageData) -> Int
Parameters
[in] imageData: A DSImageData object as the scaled-up barcode image.
Return Value
Returns the ErrorCode if it fails. Otherwise, returns 0.