DSDetectedQuadElement
The DSDetectedQuadElement class represents a detected quadrilateral element, which is an intermediate result in the document scanning process. It is a subclass of DSRegionObjectElement.
Definition
Assembly: DynamsoftCaptureVisionBundle.xcframework
- Objective-C
- Swift
@interface DSDetectedQuadElement: DSRegionObjectElementclass DetectedQuadElement: RegionObjectElement
Methods
| Methods | Description |
|---|---|
getConfidenceAsDocumentBoundary |
Returns the confidence score of the detected quadrilateral’s boundary, measuring the certainty that the detected quadrilateral represents the boundary of a document. |
The following methods are inherited from class DSRegionObjectElement.
| Method | Description |
|---|---|
getLocation |
Returns the location info of the element. |
setLocation |
Sets the location info of the element. |
getReferencedElement |
Returns the referenced element that supports the capturing of this element. |
getRegionObjectElementType |
Returns the type of the element. |
getConfidenceAsDocumentBoundary
Returns 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
- (NSUInteger)getConfidenceAsDocumentBoundary;func getConfidenceAsDocumentBoundary() -> Int