Table of contents

DSDeskewedImageResultItem

The DSDeskewedImageResultItem class is an extension of DSCapturedResultItem that represents a deskewed image. This is the most basic unit of the deskewed image result, one of the captured result types that the Capture Vision Router can output.

Definition

Assembly: DynamsoftCaptureVisionBundle.xcframework

  • Objective-C
  • Swift
  1. @interface DSDeskewedImageResultItem: DSCapturedResultItem
    
  2. class DeskewedImageResultItem : CapturedResultItem
    

Attributes

Attributes Type Description
imageData DSImageData * A DSImageData object as the image data of a deskewed image.
sourceDeskewQuad DSQuadrilateral * The quadrilateral from which you get the deskewed image result item.
crossVerificationStatus DSCrossVerificationStatus The cross verification status of the result item.
originalToLocalMatrix CGAffineTransform The transformation matrix from the original image coordinate system to the local coordinate system.

The following attributes are inherited from DSCapturedResultItem.

Attributes Type Description
type DSCapturedResultItemType The type of the captured result item.
referencedItem DSCapturedResultItem * The referenced captured result item. The reference dependencies is defined in the Capture Vision settings.
targetROIDefName NSString The name of the TargetROIDef object which includes a task that generated the result.
taskName NSString The name of the task that generated the result.

imageData

A DSImageData object for the deskewed image.

  • Objective-C
  • Swift
  1. @property (nonatomic, nullable, readonly) DSImageData *imageData
    
  2. var imageData: ImageData? { get }
    

location

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

  • Objective-C
  • Swift
  1. @property (nonatomic, nullable, readonly) DSQuadrilateral *location
    
  2. var location: Quadrilateral? { get }
    

crossVerificationStatus

The cross verification status of the result. The cross verification status determines whether the result item is approved by the multi-frame cross verification mechanism. If approved, the cross verification status is passed. Otherwise, it is failed.

  • Objective-C
  • Swift
  1. @property (nonatomic, readonly) DSCrossVerificationStatus crossVerificationStatus;
    
  2. var crossVerificationStatus: CrossVerificationStatus { get }
    

Related API:

originalToLocalMatrix

The transformation matrix from the original image coordinate system to the local coordinate system.

  • Objective-C
  • Swift
  1. @property (nonatomic, readonly, assign) CGAffineTransform originalToLocalMatrix;
    
  2. var originalToLocalMatrix: CGAffineTransform { get }
    

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: