Table of contents

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: DynamsoftDocumentNormalizer.xcframework

  • Objective-C
  • Swift
  1. @interface DSDetectedQuadElement: DSRegionObjectElement
    
  2. class 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
  1. - (NSUInteger)getConfidenceAsDocumentBoundary;
    
  2. func getConfidenceAsDocumentBoundary() -> Int
    

Is this page helpful?

YesYes NoNo

In this article: