DSImageTag
The DSImageTag class represents an image tag that can be attached to an image in a system. It contains information about the image, such as the image ID and the image capture distance mode.
Definition
Assembly: DynamsoftCaptureVisionBundle.xcframework
- Objective-C
- Swift
@interface DSImageTag : NSObjectclass ImageTag : NSObject
Attributes
| Attributes | Type | Description |
|---|---|---|
imageId |
NSInteger | The ID of the image, which is the unique identifier of the image. |
type |
DSImageTagType | The type of the image tag. |
distanceMode |
DSImageCaptureDistanceMode | The capture distance mode of the image. |
imageId
The ID of the image, which is the unique identifier of the image.
- Objective-C
- Swift
@property (nonatomic, readonly, assign) NSInteger imageId;var imageId: Int { get }
type
The type of the image tag.
- Objective-C
- Swift
@property (nonatomic, readonly, assign) DSImageTagType type;var type: DSImageTagType { get }
distanceMode
The capture distance mode of the image.
- Objective-C
- Swift
@property (nonatomic, assign) DSImageCaptureDistanceMode distanceMode;var distanceMode: DSImageCaptureDistanceMode { get set }