DSEnhancedImageResultItem
The DSEnhancedImageResultItem class is an extension of DSCapturedResultItem that represents a enhanced image. This is the most basic unit of the enhanced image result, one of the captured result types that the Capture Vision Router can output.
Definition
Assembly: DynamsoftCaptureVisionBundle.xcframework
- Objective-C
- Swift
@interface DSEnhancedImageResultItem: DSCapturedResultItemclass EnhancedImageResultItem : CapturedResultItem
Attributes
| Attributes | Type | Description |
|---|---|---|
imageData |
DSImageData * | A DSImageData object as the image data of a enhanced image. |
originalToLocalMatrix |
CGAffineTransform | The transformation matrix from the original image coordinate system to the local coordinate system. |
The following attributes are inherited from DSCapturedResultItem.
| Attributes | Type | Description |
|---|---|---|
type |
DSCapturedResultItemType | The type of the captured result item. |
referencedItem |
DSCapturedResultItem * | The referenced captured result item. The reference dependencies is defined in the Capture Vision settings. |
targetROIDefName |
NSString | The name of the TargetROIDef object which includes a task that generated the result. |
taskName |
NSString | The name of the task that generated the result. |
imageData
A DSImageData object for the enhanced image.
- Objective-C
- Swift
@property (nonatomic, nullable, readonly) DSImageData *imageDatavar imageData: ImageData? { get }
originalToLocalMatrix
The transformation matrix from the original image coordinate system to the local coordinate system.
- Objective-C
- Swift
@property (nonatomic, readonly, assign) CGAffineTransform originalToLocalMatrix;var originalToLocalMatrix: CGAffineTransform { get }