DSDetectedQuadResultItem
The DetectedQuadResultItem
class is an extension of the DSCapturedResultItem
that represents a detected quadrilateral. This is the most basic unit of a detected quadrilateral, one of the captured result types that the Capture Vision Router can output.
Definition
Assembly: DynamsoftDocumentNormalizer.xcframework
- Objective-C
- Swift
NS_SWIFT_NAME(DetectedQuadResultItem) @interface DSDetectedQuadResultItem: DSCapturedResultItem
class DetectedQuadResultItem: CapturedResultItem
Attributes
Attributes | Type | Description |
---|---|---|
location |
DSQuadrilateral | A DSQuadrilateral object as the location of current object. |
confidenceAsDocumentBoundary |
NSInteger | TThe confidence score of the detected quadrilateral’s boundary, measuring the certainty that the detected quadrilateral represents the boundary of a document. |
location
A DSQuadrilateral object that represents the location of the detected quadrilateral within the image or frame.
- Objective-C
- Swift
@property(nonatomic, nullable, readonly) DSQuadrilateral *location;
var location: DSQuadrilateral? { get }
confidenceAsDocumentBoundary
The confidence score of the detected quadrilateral’s boundary, measuring the certainty that the detected quadrilateral represents the boundary of a document.
- Objective-C
- Swift
@property(nonatomic, assign, readonly) NSInteger confidenceAsDocumentBoundary;
var confidenceAsDocumentBoundary: Int { get }