/*
 * This is one of the header files of Dynamsoft Capture Vision SDK - Document Normalizer module.
 *
 * Copyright © Dynamsoft Corporation. All rights reserved.
 */

#import <Foundation/Foundation.h>
#import <DynamsoftCaptureVisionBundle/DSCapturedResultItem.h>
#import <DynamsoftCaptureVisionBundle/DSCrossVerificationStatus.h>

@class DSImageData;
@class DSQuadrilateral;

NS_ASSUME_NONNULL_BEGIN

/**
 * DSDeskewedImageResultItem class stores a captured result item whose type is normalized image. It is inherited from the DSCaptureResultItem class and contains additional parameters that records the normalized image information.
 */
NS_SWIFT_NAME(DeskewedImageResultItem)
@interface DSDeskewedImageResultItem : DSCapturedResultItem
/**
 * A DSImageData object as the image data of a normalized image.
 */
@property (nonatomic, readonly, strong, nullable) DSImageData *imageData;
/**
 * The quadrilateral from which you get the normalized image result item.
 */
@property (nonatomic, readonly) DSQuadrilateral *sourceDeskewQuad;

@property (nonatomic, readonly, assign) DSCrossVerificationStatus crossVerificationStatus;

@property (nonatomic, readonly, assign) CGAffineTransform originalToLocalMatrix;

@end

NS_ASSUME_NONNULL_END
