/*
 * 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/DSRegionObjectElement.h>

NS_ASSUME_NONNULL_BEGIN

/**
 * DSDetectedQuadElement class stores an intermediate result whose type is detected quad.
 */
NS_SWIFT_NAME(DetectedQuadElement)
@interface DSDetectedQuadElement : DSRegionObjectElement
/**
 * The confidence of the quadrilateral to be a document boundary.
 */
- (NSUInteger)getConfidenceAsDocumentBoundary;

- (NSInteger)setLocation:(DSQuadrilateral *)location;

+ (instancetype)new;
- (instancetype)init;

@end

NS_ASSUME_NONNULL_END
