DSNormalizedImagesResult
The DSNormalizedImagesResult
class represents a collection of DSNormalizedImageResultItem
, the basic unit of a normalized image result.
Definition
Assembly: DynamsoftDocumentNormalizer.xcframework
- Objective-C
- Swift
@interface DSNormalizedImagesResult : NSObject
class NormalizedImagesResult : NSObject
Attributes
Attributes | Type | Description |
---|---|---|
items |
NSArray<DSNormalizedImageResultItem *> | An array of DSNormalizedImageResultItem. Each DSNormalizedImageResultItem is a result object of a single normalized image. |
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 normalized image. |
items
An array of DSNormalizedImageResultItem
, where each DSNormalizedImageResultItem
represents a single normalized image.
- Objective-C
- Swift
@property (nonatomic, nullable, readonly) NSArray<DSNormalizedImageResultItem *>* items;
var items: [DSNormalizedImageResultItem]? { 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 }