Resource Base
Table of contents

DSDetectedQuadsResult

The DSDetectedQuadsResult class represents a collection of DSDetectedQuadResultItems, the basic unit of a detected quad result.

Definition

Assembly: DynamsoftDocumentNormalizer.xcframework

  • Objective-C
  • Swift
  1. @interface DSDetectedQuadsResult : NSObject
    
  2. class DetectedQuadsResult : NSObject
    

Attributes

Attributes Type Description
items NSArray<DSDetectedQuadResultItem *> An array of DSDetectedQuadResultItems, which are the basic unit of the captured results.
rotationTransformMatrix CGAffineTransform The rotation transformation matrix of the original image relative to the rotated image.
originalImageHashId NSString The hash id of the original image. You can use this ID to get the original image via IntermediateResultManager class.
originalImageTag *DSImageTag * The tag of the original image, from which you get the detected quads result.

items

An array of DSDetectedQuadResultItems, which represents the basic unit of the captured result, in this case, a detected quadrilateral.

  • Objective-C
  • Swift
  1. @property(nonatomic, strong, nullable, readonly) NSArray<DSDetectedQuadResultItem*>* items;
    
  2. var items: [DSDetectedQuadResultItem]? { get }
    

rotationTransformMatrix

The rotation transformation matrix of the original image relative to the rotated image. Please see CGAffineTransform for more info.

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

originalImageHashId

The hash ID of the original image. You can use this ID to get the original image via IntermediateResultManager class.

  • Objective-C
  • Swift
  1. @property (nonatomic, nonnull, readonly) NSString* originalImageHashId;
    
  2. var originalImageHashId: String { get }
    

originalImageTag

The ImageTag of the original image, which contains various information about the image.

  • Objective-C
  • Swift
  1. @property (nonatomic, readonly) DSImageTag* originalImageTag;
    
  2. var originalImageTag: DSImageTag { get }
    

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    • Version 2.x
      • Version 2.2.10
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.0.10
    • Version 1.x
      • Version 1.0.30
      • Version 1.0.21
      • Version 1.0.20
      • Version 1.0.12
      • Version 1.0.11
      • Version 1.0.10
      • Version 1.0.0
      • Version 1.0.30
      • Version 1.0.21
      • Version 1.0.20
      • Version 1.0.12
      • Version 1.0.11
      • Version 1.0.10
      • Version 1.0.0
      • Version 1.0.5
      • Version 1.0.4
      • Version 1.0.3
      • Version 1.0.2
      • Version 1.0.1
      • Version 1.0.0
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support