Skip to content

Latest commit

 

History

History
108 lines (68 loc) · 2.8 KB

File metadata and controls

108 lines (68 loc) · 2.8 KB
layout default-layout
title class CCapturedResultBase - Dynamsoft Core Module C++ Edition API Reference
description API reference for the CCapturedResultBase class in Dynamsoft Core C++ Edition, the abstract base class for all captured result collection classes.
keywords captured result base, c++
needAutoGenerateSidebar true

CCapturedResultBase

The CCapturedResultBase class serves as a base class for all captured result types. It is an abstract base class with multiple subclasses, each representing a different type of captured result.

Definition

Namespace: dynamsoft::basic_structures

Assembly: DynamsoftCore

class CCapturedResultBase 

Methods

Method Description
~CCapturedResultBase This is the class destructor.
GetOriginalImageHashId Gets the hash ID of the original image.
GetOriginalImageTag Gets the tag of the original image.
GetRotationTransformMatrix Gets the rotation transformation matrix of the original image relative to the rotated image.
GetErrorCode Gets the error code of the detection operation.
GetErrorString Gets the error message of the detection operation.

CCapturedResultBase Destructor

This is the class destructor.

virtual ~CCapturedResultBase(){};

GetOriginalImageHashId

Gets the hash ID of the original image.

virtual const char* GetOriginalImageHashId()const = 0;

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.

virtual const CImageTag* GetOriginalImageTag()const = 0;

Return value

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

See Also

[CImageTag]({{ site.dcvb_cpp_api }}core/basic-structures/image-tag.html)

GetRotationTransformMatrix

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

virtual void GetRotationTransformMatrix(double matrix[9]) const = 0;

Parameters

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

GetErrorCode

Gets the error code of the detection operation.

virtual int GetErrorCode()const = 0;

Return value

Returns the error code.

See Also

[ErrorCode]({{ site.dcvb_cpp_api }}core/enum-error-code.html)

GetErrorString

Gets the error message of the detection operation.

virtual const char* GetErrorString()const = 0;

Return value

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