Table of contents

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
  1. @interface DSDeskewedImageElement : DSRegionObjectElement
    
  2. class 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
  1. - (nullable DSImageData *)getImageData;
    
  2. func getImageData() -> DSImageData?
    

setImageData

Sets the image data of the deskewed image with a DSImageData object.

  • Objective-C
  • Swift
  1. - (void)setImageData:(nullable DSImageData *)imageData;
    
  2. func setImageData(_ imageData: ImageData?)
    

sourceDeskewQuad

The quadrilateral from which you get the deskewed image result item.

  • Objective-C
  • Swift
  1. - (void)setImageData:(nullable DSImageData *)imageData;
    
  2. func setImageData(_ imageData: ImageData?)
    

This page is compatible for: