PredetectedRegionElement
The PredetectedRegionElement class represents a region element that has been pre-detected in an image. It is a subclass of the RegionObjectElement.
Definition
Namespace: Dynamsoft.Core.intermediate_results
class PredetectedRegionElement : RegionObjectElement
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. |
Inherited Methods
Checkout inherited methods from RegionObjectElement for more details.
GetModeName
Gets the name of the detection mode used to detect this region element.
string GetModeName()
Return value
Returns the name of the detection mode used to detect this region element.
SetLocation
Sets the location of the region object element.
int SetLocation(Quadrilateral location)
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.
int GetLabelId()
Return value
Returns the label id of the predetected region element.
GetLabelName
Gets the label name of the predetected region element.
string GetLabelName()
Return value
Returns the label name of the predetected region element.