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

#import <Foundation/Foundation.h>
#import <DynamsoftCaptureVisionBundle/DSRegionObjectElement.h>

NS_ASSUME_NONNULL_BEGIN

/**
 * The DSPredetectedRegionElement class represents a region element that has been pre-detected in an image. It is a subclass of the DSRegionObjectElement
 */
NS_SWIFT_NAME(PredetectedRegionElement)
@interface DSPredetectedRegionElement : DSRegionObjectElement
/**
 * The name of the detection mode used to detect this region element.
 */
- (NSString *)getModeName;

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

/**
 * Gets the label id of the predetected region element.
 *
 * @return Returns the label id of the predetected region element.
 */
- (NSInteger)getLabelId;
/**
 * Gets the label name of the predetected region element.
 *
 * @return Returns the label name of the predetected region element.
 */
- (NSString *)getLabelName;

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

@end

NS_ASSUME_NONNULL_END
