eVision Python API
Loading...
Searching...
No Matches
eVision.EasyDeepLearning.ELocatorResult Class Reference

Result of a eVision.EasyDeepLearning.ELocator tool. More...

Public Member Functions

None __init__ (self)
 Constructs an eVision.EasyDeepLearning.ELocatorResult object.
None __init__ (self, eVision.EasyDeepLearning.ELocatorResult other)
 Copy constructor.
None Load (self, str path)
 Loads a locator result.
None Load (self, eVision.ESerializer|None serializer)
 Loads a locator result.
None Save (self, str path)
 Saves a locator result.
None Save (self, eVision.ESerializer|None serializer)
 Saves a locator result.
bool IsValid (self)
 Whether the result is valid and was produced by a eVision.EasyDeepLearning.ELocator objet.
str GetLabel (self, int i)
 i-th label recognized by the eVision.EasyDeepLearning.ELocator.
eVision.ERGBColor GetLabelColor (self, int i)
 Color of a label.
eVision.ERGBColor GetLabelColor (self, str label)
 Color of a label.
int GetNumDetectedObjects (self)
 Number of detected objects in the image.
int GetNumDetectedObjects (self, str label)
 Number of detected objects in the image.
int GetNumDetectedObjects (self, int labelId)
 Number of detected objects in the image.
eVision.ERegion ToRegion (self)
 Creates an eVision.ERegion from the eVision.EasyDeepLearning.ELocatorResult.
bool HasGroundtruth (self)
 Whether the result has a groundtruth.
None RemoveGroundtruth (self)
 Removes the groundtruth.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, bool drawLabel, bool drawProbability)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, bool drawLabel, bool cropLabel, bool drawProbability, float zoomX, float zoomY, float panX, float panY)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, bool drawLabel, bool cropLabel, bool drawProbability, float zoomX, float zoomY, float panX)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, bool drawLabel, bool cropLabel, bool drawProbability, float zoomX, float zoomY)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, bool drawLabel, bool cropLabel, bool drawProbability, float zoomX)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, bool drawLabel, bool cropLabel, bool drawProbability)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, bool drawLabel, bool drawProbability)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, bool drawLabel, bool cropLabel, bool drawProbability, float zoomX, float zoomY, float panX, float panY)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, bool drawLabel, bool cropLabel, bool drawProbability, float zoomX, float zoomY, float panX)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, bool drawLabel, bool cropLabel, bool drawProbability, float zoomX, float zoomY)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, bool drawLabel, bool cropLabel, bool drawProbability, float zoomX)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, bool drawLabel, bool cropLabel, bool drawProbability)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, bool drawLabel, bool drawProbability, float zoomX, float zoomY, float panX, float panY)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, bool drawLabel, bool drawProbability, float zoomX, float zoomY, float panX)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, bool drawLabel, bool drawProbability, float zoomX, float zoomY)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, bool drawLabel, bool drawProbability, float zoomX)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, bool drawLabel, bool drawProbability, float zoomX, float zoomY, float panX, float panY)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, bool drawLabel, bool drawProbability, float zoomX, float zoomY, float panX)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, bool drawLabel, bool drawProbability, float zoomX, float zoomY)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, bool drawLabel, bool drawProbability, float zoomX)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX, float panY)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, float zoomX, float zoomY, float panX)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX, float panY)
 Draws the detected objects with their label and score.
None Draw (self, eVision.EDrawAdapter|None drawAdapter, eVision.EFrame frame, float zoomX, float zoomY, float panX)
 Draws the detected objects with their label and score.
int FindObject (self, eVision.EPoint p)
 Index of the first object located at the given location.
int FindObject (self, int x, int y)
 Index of the first object located at the given location.

Protected Member Functions

int _NumLabels__getter (self)
 \cond
list[eVision._eVision.EasyDeepLearning.ELocatorPredictedObject] _DetectedObjects__getter (self)
 \cond
float _DetectionThreshold__getter (self)
 \cond
int _LocatorFeatures__getter (self)
 \cond
int _ObjectSize__getter (self)
 \cond
list[eVision._eVision.EasyDeepLearning.ELocatorObject] _GroundtruthObjects__getter (self)
 \cond

Properties

 NumLabels = property(_NumLabels__getter, None)
 \endcond
 DetectedObjects = property(_DetectedObjects__getter, None)
 \endcond
 DetectionThreshold = property(_DetectionThreshold__getter, None)
 \endcond
 LocatorFeatures = property(_LocatorFeatures__getter, None)
 \endcond
 ObjectSize = property(_ObjectSize__getter, None)
 \endcond
 GroundtruthObjects = property(_GroundtruthObjects__getter, None)
 \endcond

Detailed Description

Result of a eVision.EasyDeepLearning.ELocator tool.

Remarks:

License(s): BasicTypes

Constructor & Destructor Documentation

◆ __init__() [1/2]

None eVision.EasyDeepLearning.ELocatorResult.__init__ ( self)

◆ __init__() [2/2]

None eVision.EasyDeepLearning.ELocatorResult.__init__ ( self,
eVision.EasyDeepLearning.ELocatorResult other )

Copy constructor.

Parameters
othereVision.EasyDeepLearning.ELocatorResult object

Member Function Documentation

◆ _DetectedObjects__getter()

list[eVision._eVision.EasyDeepLearning.ELocatorPredictedObject] eVision.EasyDeepLearning.ELocatorResult._DetectedObjects__getter ( self)
protected

\cond

Detected objects.

◆ _DetectionThreshold__getter()

float eVision.EasyDeepLearning.ELocatorResult._DetectionThreshold__getter ( self)
protected

\cond

Detection threshold set by the eVision.EasyDeepLearning.ELocator tool.

◆ _GroundtruthObjects__getter()

list[eVision._eVision.EasyDeepLearning.ELocatorObject] eVision.EasyDeepLearning.ELocatorResult._GroundtruthObjects__getter ( self)
protected

\cond

Groundtruth objects if eVision.EasyDeepLearning.ELocatorResult.HasGroundtruth is equal to true.

◆ _LocatorFeatures__getter()

int eVision.EasyDeepLearning.ELocatorResult._LocatorFeatures__getter ( self)
protected

\cond

Locator features of the result.

◆ _NumLabels__getter()

int eVision.EasyDeepLearning.ELocatorResult._NumLabels__getter ( self)
protected

\cond

Number of labels the eVision.EasyDeepLearning.ELocator can recognize.

◆ _ObjectSize__getter()

int eVision.EasyDeepLearning.ELocatorResult._ObjectSize__getter ( self)
protected

\cond

Object size for prediction made by a eVision.EasyDeepLearning.EInterestPointLocator.

◆ Draw() [1/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).

◆ Draw() [2/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
bool drawLabel,
bool cropLabel,
bool drawProbability )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
drawLabelWhether to draw the label of each detected object or not (default: true).
cropLabelWhether to crop the label of the detected object to the size of the object (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).

◆ Draw() [3/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
bool drawLabel,
bool cropLabel,
bool drawProbability,
float zoomX )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
drawLabelWhether to draw the label of each detected object or not (default: true).
cropLabelWhether to crop the label of the detected object to the size of the object (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.

◆ Draw() [4/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
bool drawLabel,
bool cropLabel,
bool drawProbability,
float zoomX,
float zoomY )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
drawLabelWhether to draw the label of each detected object or not (default: true).
cropLabelWhether to crop the label of the detected object to the size of the object (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ Draw() [5/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
bool drawLabel,
bool cropLabel,
bool drawProbability,
float zoomX,
float zoomY,
float panX )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
drawLabelWhether to draw the label of each detected object or not (default: true).
cropLabelWhether to crop the label of the detected object to the size of the object (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning factor, in pixels. By default, no panning occurs.

◆ Draw() [6/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
bool drawLabel,
bool cropLabel,
bool drawProbability,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
drawLabelWhether to draw the label of each detected object or not (default: true).
cropLabelWhether to crop the label of the detected object to the size of the object (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning factor, in pixels. By default, no panning occurs.
panYVertical panning factor, in pixels. By default, no panning occurs.

◆ Draw() [7/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
bool drawLabel,
bool drawProbability )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
drawLabelWhether to draw the label of each detected object or not (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).

◆ Draw() [8/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
bool drawLabel,
bool drawProbability,
float zoomX )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
drawLabelWhether to draw the label of each detected object or not (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.

◆ Draw() [9/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
bool drawLabel,
bool drawProbability,
float zoomX,
float zoomY )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
drawLabelWhether to draw the label of each detected object or not (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ Draw() [10/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
bool drawLabel,
bool drawProbability,
float zoomX,
float zoomY,
float panX )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
drawLabelWhether to draw the label of each detected object or not (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning factor, in pixels. By default, no panning occurs.

◆ Draw() [11/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
bool drawLabel,
bool drawProbability,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
drawLabelWhether to draw the label of each detected object or not (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning factor, in pixels. By default, no panning occurs.
panYVertical panning factor, in pixels. By default, no panning occurs.

◆ Draw() [12/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.

◆ Draw() [13/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
bool drawLabel,
bool cropLabel,
bool drawProbability )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
drawLabelWhether to draw the label of each detected object or not (default: true).
cropLabelWhether to crop the label of the detected object to the size of the object (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).

◆ Draw() [14/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
bool drawLabel,
bool cropLabel,
bool drawProbability,
float zoomX )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
drawLabelWhether to draw the label of each detected object or not (default: true).
cropLabelWhether to crop the label of the detected object to the size of the object (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.

◆ Draw() [15/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
bool drawLabel,
bool cropLabel,
bool drawProbability,
float zoomX,
float zoomY )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
drawLabelWhether to draw the label of each detected object or not (default: true).
cropLabelWhether to crop the label of the detected object to the size of the object (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ Draw() [16/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
bool drawLabel,
bool cropLabel,
bool drawProbability,
float zoomX,
float zoomY,
float panX )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
drawLabelWhether to draw the label of each detected object or not (default: true).
cropLabelWhether to crop the label of the detected object to the size of the object (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning factor, in pixels. By default, no panning occurs.

◆ Draw() [17/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
bool drawLabel,
bool cropLabel,
bool drawProbability,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
drawLabelWhether to draw the label of each detected object or not (default: true).
cropLabelWhether to crop the label of the detected object to the size of the object (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning factor, in pixels. By default, no panning occurs.
panYVertical panning factor, in pixels. By default, no panning occurs.

◆ Draw() [18/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
bool drawLabel,
bool drawProbability )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
drawLabelWhether to draw the label of each detected object or not (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).

◆ Draw() [19/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
bool drawLabel,
bool drawProbability,
float zoomX )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
drawLabelWhether to draw the label of each detected object or not (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.

◆ Draw() [20/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
bool drawLabel,
bool drawProbability,
float zoomX,
float zoomY )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
drawLabelWhether to draw the label of each detected object or not (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ Draw() [21/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
bool drawLabel,
bool drawProbability,
float zoomX,
float zoomY,
float panX )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
drawLabelWhether to draw the label of each detected object or not (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning factor, in pixels. By default, no panning occurs.

◆ Draw() [22/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
bool drawLabel,
bool drawProbability,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
drawLabelWhether to draw the label of each detected object or not (default: true).
drawProbabilityWhether to draw the probability of each detected object or not (default: true).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning factor, in pixels. By default, no panning occurs.
panYVertical panning factor, in pixels. By default, no panning occurs.

◆ Draw() [23/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
float zoomX )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.

◆ Draw() [24/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ Draw() [25/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning factor, in pixels. By default, no panning occurs.

◆ Draw() [26/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
eVision.EFrame frame,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
frameFrame of reference in which this result was computed.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning factor, in pixels. By default, no panning occurs.
panYVertical panning factor, in pixels. By default, no panning occurs.

◆ Draw() [27/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
float zoomX )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.

◆ Draw() [28/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
float zoomX,
float zoomY )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.

◆ Draw() [29/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
float zoomX,
float zoomY,
float panX )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning factor, in pixels. By default, no panning occurs.

◆ Draw() [30/30]

None eVision.EasyDeepLearning.ELocatorResult.Draw ( self,
eVision.EDrawAdapter | None drawAdapter,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an eVision.EDrawAdapter (like the eVision.EWindowsDrawAdapter).
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
zoomYVertical zooming factor. A value greater than 1 means zoom in. If set to 0, the default value, the horizontal zooming factor is used instead, so as to provide isotropic zooming.
panXHorizontal panning factor, in pixels. By default, no panning occurs.
panYVertical panning factor, in pixels. By default, no panning occurs.

◆ FindObject() [1/2]

int eVision.EasyDeepLearning.ELocatorResult.FindObject ( self,
eVision.EPoint p )

Index of the first object located at the given location.

Returns -1 if no object is at that position.

Remarks:

As several objects can overlap, this method returns the first object (the object with the lowest index) that contains the given location.

Parameters
pA point.

◆ FindObject() [2/2]

int eVision.EasyDeepLearning.ELocatorResult.FindObject ( self,
int x,
int y )

Index of the first object located at the given location.

Returns -1 if no object is at that position.

Remarks:

As several objects can overlap, this method returns the first object (the object with the lowest index) that contains the given location.

Parameters
xX-coordinate of tested point.
yY-coordinate of tested point.

◆ GetLabel()

str eVision.EasyDeepLearning.ELocatorResult.GetLabel ( self,
int i )

i-th label recognized by the eVision.EasyDeepLearning.ELocator.

Parameters
iLabel index between 0 and eVision.EasyDeepLearning.ELocatorResult.NumLabels

◆ GetLabelColor() [1/2]

eVision.ERGBColor eVision.EasyDeepLearning.ELocatorResult.GetLabelColor ( self,
int i )

Color of a label.

Remarks:

The label color is controlled at the tool level. To change a color in a result, change the label color in the tool.

Parameters
iIndex of the label for which to get the color (between 0 and eVision.EasyDeepLearning.ELocatorResult.NumLabels - 1)

◆ GetLabelColor() [2/2]

eVision.ERGBColor eVision.EasyDeepLearning.ELocatorResult.GetLabelColor ( self,
str label )

Color of a label.

Remarks:

The label color is controlled at the tool level. To change a color in a result, change the label color in the tool.

Parameters
labelLabel for which to get the color

◆ GetNumDetectedObjects() [1/3]

int eVision.EasyDeepLearning.ELocatorResult.GetNumDetectedObjects ( self)

Number of detected objects in the image.

◆ GetNumDetectedObjects() [2/3]

int eVision.EasyDeepLearning.ELocatorResult.GetNumDetectedObjects ( self,
int labelId )

Number of detected objects in the image.

Parameters
labelIdIndex of label for which to count the detected objects

◆ GetNumDetectedObjects() [3/3]

int eVision.EasyDeepLearning.ELocatorResult.GetNumDetectedObjects ( self,
str label )

Number of detected objects in the image.

Parameters
labelLabel for which to count the detected objects

◆ HasGroundtruth()

bool eVision.EasyDeepLearning.ELocatorResult.HasGroundtruth ( self)

Whether the result has a groundtruth.

◆ IsValid()

bool eVision.EasyDeepLearning.ELocatorResult.IsValid ( self)

Whether the result is valid and was produced by a eVision.EasyDeepLearning.ELocator objet.

◆ Load() [1/2]

None eVision.EasyDeepLearning.ELocatorResult.Load ( self,
eVision.ESerializer | None serializer )

Loads a locator result.

The given eVision.ESerializer must have been created for reading.

Parameters
serializerThe serializer.

◆ Load() [2/2]

None eVision.EasyDeepLearning.ELocatorResult.Load ( self,
str path )

Loads a locator result.

The given eVision.ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ RemoveGroundtruth()

None eVision.EasyDeepLearning.ELocatorResult.RemoveGroundtruth ( self)

Removes the groundtruth.

◆ Save() [1/2]

None eVision.EasyDeepLearning.ELocatorResult.Save ( self,
eVision.ESerializer | None serializer )

Saves a locator result.

The given eVision.ESerializer must have been created for writing.

Parameters
serializerThe eVision.ESerializer object that is written to.

◆ Save() [2/2]

None eVision.EasyDeepLearning.ELocatorResult.Save ( self,
str path )

Saves a locator result.

The given eVision.ESerializer must have been created for writing.

Parameters
pathThe file path.

◆ ToRegion()

eVision.ERegion eVision.EasyDeepLearning.ELocatorResult.ToRegion ( self)

Property Documentation

◆ DetectedObjects

eVision.EasyDeepLearning.ELocatorResult.DetectedObjects = property(_DetectedObjects__getter, None)
static

\endcond

Detected objects.

◆ DetectionThreshold

eVision.EasyDeepLearning.ELocatorResult.DetectionThreshold = property(_DetectionThreshold__getter, None)
static

\endcond

Detection threshold set by the eVision.EasyDeepLearning.ELocator tool.

◆ GroundtruthObjects

eVision.EasyDeepLearning.ELocatorResult.GroundtruthObjects = property(_GroundtruthObjects__getter, None)
static

\endcond

Groundtruth objects if eVision.EasyDeepLearning.ELocatorResult.HasGroundtruth is equal to true.

◆ LocatorFeatures

eVision.EasyDeepLearning.ELocatorResult.LocatorFeatures = property(_LocatorFeatures__getter, None)
static

\endcond

Locator features of the result.

◆ NumLabels

eVision.EasyDeepLearning.ELocatorResult.NumLabels = property(_NumLabels__getter, None)
static

\endcond

Number of labels the eVision.EasyDeepLearning.ELocator can recognize.

◆ ObjectSize

eVision.EasyDeepLearning.ELocatorResult.ObjectSize = property(_ObjectSize__getter, None)
static

\endcond

Object size for prediction made by a eVision.EasyDeepLearning.EInterestPointLocator.