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. |
| Methods Inherited from CRegionObjectElement: | |
GetLocation |
Gets the location of the region object element. |
GetReferencedElement |
Gets a pointer to a referenced region object element. |
GetElementType |
Gets the type of the region object element. |
GetImageData |
Gets the imageData of the region object element. |
Clone |
Clone the region object element. |
Retain |
Increases the reference count of the CRegionObjectElement object. |
Release |
Decreases the reference count of the CRegionObjectElement object. |
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.