DSDeskewedImageElement
The DSDeskewedImageElement class represents an intermediate result whose type is deskewed image. It is inherited from DSRegionObjectElement and contains image data of deskewed result as an additional parameter.
Definition
Assembly: DynamsoftCaptureVisionBundle.xcframework
- Objective-C
- Swift
@interface DSDeskewedImageElement : DSRegionObjectElementclass DeskewedImageElement : RegionObjectElement
Methods
| Methods | Description |
|---|---|
setImageData |
Sets the image data of the deskewed image with a DSImageData object. |
| Attributes | Type | Description |
|---|---|---|
sourceDeskewQuad |
DSQuadrilateral * | The quadrilateral from which you get the deskewed image result item. |
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. |
getImageData
Returns DSImageData object as the image data of a deskewed image.
- Objective-C
- Swift
- (nullable DSImageData *)getImageData;func getImageData() -> DSImageData?
setImageData
Sets the image data of the deskewed image with a DSImageData object.
- Objective-C
- Swift
- (void)setImageData:(nullable DSImageData *)imageData;func setImageData(_ imageData: ImageData?)
sourceDeskewQuad
The quadrilateral from which you get the deskewed image result item.
- Objective-C
- Swift
- (void)setImageData:(nullable DSImageData *)imageData;func setImageData(_ imageData: ImageData?)