CDetectedQuadElement Class
The CDetectedQuadElement class stores an intermediate result whose type is detected quad.
Definition
Namespace: dynamsoft::ddn::intermediate_results
Assembly: DynamsoftDocumentNormalizer
class CDetectedQuadElement: CRegionObjectElement
Inheritance: CRegionObjectElement -> CDetectedQuadElement
Methods
Method | Description |
---|---|
GetConfidenceAsDocumentBoundary |
Gets the confidence as document boundary of current object. |
SetLocation |
Sets the location of the detected quad element. |
GetConfidenceAsDocumentBoundary
Gets the confidence as document boundary of current object.
int GetConfidenceAsDocumentBoundary()
Return Value
The confidence as document boundary of current object.
SetLocation
Sets the location of the detected quad element.
virtual int SetLocation(const CQuadrilateral& location) = 0;
Parameters
location
The location of the detected quad element.
Return Value
Returns 0 if success, otherwise an error code.