DSEnhancedImageElement
The DSEnhancedImageElement class represents an intermediate result whose type is enhanced image. It is inherited from DSRegionObjectElement and contains image data of enhanced result as an additional parameter.
Definition
Assembly: DynamsoftCaptureVisionBundle.xcframework
- Objective-C
- Swift
@interface DSEnhancedImageElement : DSRegionObjectElementclass EnhancedImageElement : RegionObjectElement
Methods
| Methods | Description |
|---|---|
setImageData |
Sets the image data of the enhanced image with a DSImageData object. |
The following methods are inherited from class DSRegionObjectElement.
| Method | Description |
|---|---|
getLocation |
Returns the location info of the element. |
setLocation |
Sets the location info of the element. |
getReferencedElement |
Returns the referenced element that supports the capturing of this element. |
getRegionObjectElementType |
Returns the type of the element. |
setImageData
Sets the image data of the enhanced image with a DSImageData object.
- Objective-C
- Swift
- (void)setImageData:(nullable DSImageData *)imageData;func setImageData(_ imageData: ImageData?)