CPredetectedRegionElement
The CPredetectedRegionElement
class represents a region element that has been pre-detected in an image. It is a subclass of the CRegionObjectElement
.
Definition
Namespace: dynamsoft::intermediate_results
Assembly: DynamsoftCore
class CPredetectedRegionElement : public CRegionObjectElement
Methods Summary
Method | Description |
---|---|
GetModeName |
Gets the name of the detection mode used to detect this region element. |
SetLocation |
Sets the location of the region object element. |
GetLabelId |
Gets the label id of the region object element. |
GetLabelName |
Gets the label name of the region object element. |
Inherited Methods
The following methods are inherited from class CRegionObjectElement
.
Method | Description |
---|---|
GetLocation |
Get the location of the region object element. |
GetReferencedElement |
Get a pointer to a referenced region object element. |
GetElementType |
Get the type of the region object element. |
GetModeName
Gets the name of the detection mode used to detect this region element.
virtual const char* GetModeName() const;
Return value
Returns the name of the detection mode used to detect this region element.
SetLocation
Set the location of the region object element.
virtual int SetLocation(const CQuadrilateral& location) = 0;
Parameters
location
The location of the region object element.
Return value
Returns 0 if success, otherwise an error code.
GetLabelId
Gets the label id of the predetected region element.
virtual int GetLabelId() const = 0;
Return value
Returns the label id of the predetected region element.
GetLabelName
Gets the label name of the predetected region element.
virtual const char* GetLabelName() const = 0;
Return value
Returns the label name of the predetected region element.