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
Inheritance: CRegionObjectElement -> CPredetectedRegionElement
class CPredetectedRegionElement : public CRegionObjectElement
Methods
| 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. |
| Methods Inherited from CRegionObjectElement: | |
GetLocation |
Gets the location of the region object element. |
GetReferencedElement |
Gets the referenced element that supports the capturing of this element. |
GetElementType |
Gets the type of the region object element. |
GetImageData |
Gets the image data for the element. |
Clone |
Creates a copy of the region object element. |
Retain |
Increases the reference count of the region object element. |
Release |
Decreases the reference count 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.