Resource Base
Table of contents
Notice: This documentation is archived. For the latest product features and documentation, please visit Dynamsoft Capture Vision Documentation.

CDetectedQuadsResult Class

The CDetectedQuadsResult class stores a captured result whose type is detected quads.

Definition

Namespace: dynamsoft::ddn

Assembly: DynamsoftDocumentNormalizer

class CDetectedQuadsResult

Methods

Method Description
GetItemsCount Gets the number of detected quadrilaterals.
GetErrorCode Gets the error code of the detection operation.
GetErrorString Gets the error message of the detection operation.
GetItem Gets the detected quadrilateral item at a specified index.
HasItem Check if the item is present in the array.
RemoveItem Remove a specific item from the array in the detected quads.
GetRotationTransformMatrix Get the rotation transformation matrix of the original image relative to the rotated image.
GetOriginalImageHashId Gets the hash ID of the original image.
GetOriginalImageTag Gets the tag of the original image.

GetItemsCount

Gets the number of detected quadrilaterals.

int GetItemsCount()

Return value

Returns the number of detected quadrilaterals.

GetErrorCode

Gets the error code of the detection operation.

int GetErrorCode()

Return value

Returns the error code.

See Also

GetErrorString

Gets the error message of the detection operation.

const char* GetErrorString()

Return value

Returns a pointer to a null-terminated string that represents the error message.

GetItem

Gets the detected quadrilateral item at a specified index.

const CDetectedQuadResultItem* GetItem(int index) const

Parameters

[in] index The index of the detected quadrilateral to retrieve.

Return value

Returns a pointer to a CDetectedQuadResultItem object that represents the detected quadrilateral at the specified index.

See Also

HasItem

Check if the item is present in the array.

bool HasItem(const CDetectedQuadResultItem* item) const

Parameters

[in] item The specific item to check.

Return value

Returns a bool value indicating whether the item is present in the array or not.

RemoveItem

Remove a specific item from the array in the detected quads.

int RemoveItem(const CDetectedQuadResultItem* item)

Parameters

[in] item The specific item to remove.

Return value

Return value indicating whether the deletion was successful or not.

GetRotationTransformMatrix

Get the rotation transformation matrix of the original image relative to the rotated image.

void GetRotationTransformMatrix(double matrix[9]) const;

Parameters

[out] matrix A double array which represents the rotation transform matrix.

GetOriginalImageHashId

Gets the hash ID of the original image.

const char* GetOriginalImageHashId()

Return value

Returns a pointer to a null-terminated string that represents the hash ID of the original image.

GetOriginalImageTag

Gets the tag of the original image.

const CImageTag* GetOriginalImageTag()

Return value

Returns a pointer to a CImageTag object that represents the tag of the original image.

See Also

version 2.0.20

  • version 2.4.10
  • Version 2.x
    • Version 2.2.10
    • Version 2.2.0
    • Version 2.0.20
    • Version 2.0.10
    • Version 2.0.0
  • Version 1.x
    • Version 1.0.20
    • Version 1.0.10
    • Version 1.0.0
Change +