DSDetectedQuadsResult
The DSDetectedQuadsResult
class represents a collection of DSDetectedQuadResultItems
, the basic unit of a detected quad result.
Definition
Assembly: DynamsoftDocumentNormalizer.xcframework
- Objective-C
- Swift
@interface DSDetectedQuadsResult : NSObject
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
@property(nonatomic, strong, nullable, readonly) NSArray<DSDetectedQuadResultItem*>* items;
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
@property(nonatomic, assign, readonly) CGAffineTransform rotationTransformMatrix;
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
@property (nonatomic, nonnull, readonly) NSString* originalImageHashId;
var originalImageHashId: String { get }
originalImageTag
The ImageTag
of the original image, which contains various information about the image.
- Objective-C
- Swift
@property (nonatomic, readonly) DSImageTag* originalImageTag;
var originalImageTag: DSImageTag { get }