eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::EasyDeepLearning::ELocatorResult Class Reference

Result of a ELocator tool. More...

#include <eVision/EasyDeepLearning/EasyLocate/ELocatorResult.h>

Collaboration diagram for eVision::EasyDeepLearning::ELocatorResult:

Public Member Functions

 ELocatorResult ()
 Constructs an ELocatorResult object.
 ELocatorResult (const eVision::EasyDeepLearning::ELocatorResult &other)
 Copy constructor.
virtual ~ELocatorResult () throw ()
eVision::EasyDeepLearning::ELocatorResult & operator= (const eVision::EasyDeepLearning::ELocatorResult &other)
 Assignement operator.
void Load (const std::string &path)
 Loads a locator result. The given ESerializer must have been created for reading.
void Load (eVision::ESerializer *serializer)
 Loads a locator result. The given ESerializer must have been created for reading.
void Save (const std::string &path)
 Saves a locator result. The given ESerializer must have been created for writing.
void Save (eVision::ESerializer *serializer)
 Saves a locator result. The given ESerializer must have been created for writing.
bool IsValid () const
 Whether the result is valid and was produced by a ELocator objet.
int GetNumLabels () const
 Number of labels the ELocator can recognize.
std::string GetLabel (int i) const
 i-th label recognized by the ELocator.
eVision::ERGBColor GetLabelColor (int i) const
 Color of a label.
eVision::ERGBColor GetLabelColor (const std::string &label) const
 Color of a label.
std::vector< eVision::EasyDeepLearning::ELocatorPredictedObject > GetDetectedObjects () const
 Detected objects.
int GetNumDetectedObjects () const
 Number of detected objects in the image.
int GetNumDetectedObjects (const std::string &label) const
 Number of detected objects in the image.
int GetNumDetectedObjects (int labelId) const
 Number of detected objects in the image.
float GetDetectionThreshold () const
 Detection threshold set by the ELocator tool.
int GetLocatorFeatures () const
 Locator features of the result.
int GetObjectSize () const
 Object size for prediction made by a EInterestPointLocator.
eVision::ERegion ToRegion () const
 Creates an ERegion from the ELocatorResult.
bool HasGroundtruth () const
 Whether the result has a groundtruth.
std::vector< eVision::EasyDeepLearning::ELocatorObject > GetGroundtruthObjects () const
 Groundtruth objects if ELocatorResult::HasGroundtruth is equal to true.
void RemoveGroundtruth ()
 Removes the groundtruth.
void Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY, float panX, float panY)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY, float panX)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, float zoomX, float zoomY)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, float zoomX)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, bool drawLabel, bool drawProbability, float zoomX, float zoomY, float panX, float panY)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, bool drawLabel, bool drawProbability, float zoomX, float zoomY, float panX)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, bool drawLabel, bool drawProbability, float zoomX, float zoomY)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, bool drawLabel, bool drawProbability, float zoomX)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, bool drawLabel, bool drawProbability)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, bool drawLabel, bool cropLabel, bool drawProbability, float zoomX, float zoomY, float panX, float panY)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, bool drawLabel, bool cropLabel, bool drawProbability, float zoomX, float zoomY, float panX)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, bool drawLabel, bool cropLabel, bool drawProbability, float zoomX, float zoomY)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, bool drawLabel, bool cropLabel, bool drawProbability, float zoomX)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, bool drawLabel, bool cropLabel, bool drawProbability)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY, float panX, float panY)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY, float panX)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX, float zoomY)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, float zoomX)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, bool drawLabel, bool drawProbability, float zoomX, float zoomY, float panX, float panY)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, bool drawLabel, bool drawProbability, float zoomX, float zoomY, float panX)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, bool drawLabel, bool drawProbability, float zoomX, float zoomY)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, bool drawLabel, bool drawProbability, float zoomX)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, bool drawLabel, bool drawProbability)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, const 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.
void Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, bool drawLabel, bool cropLabel, bool drawProbability, float zoomX, float zoomY, float panX)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, bool drawLabel, bool cropLabel, bool drawProbability, float zoomX, float zoomY)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, bool drawLabel, bool cropLabel, bool drawProbability, float zoomX)
 Draws the detected objects with their label and score.
void Draw (eVision::EDrawAdapter *drawAdapter, const eVision::EFrame &frame, bool drawLabel, bool cropLabel, bool drawProbability)
 Draws the detected objects with their label and score.
void Draw (HDC graphicsContext, float zoomX, float zoomY, float panX, float panY)
 Draws the detected objects with their label and score.
void Draw (HDC graphicsContext, float zoomX, float zoomY, float panX)
 Draws the detected objects with their label and score.
void Draw (HDC graphicsContext, float zoomX, float zoomY)
 Draws the detected objects with their label and score.
void Draw (HDC graphicsContext, float zoomX)
 Draws the detected objects with their label and score.
void Draw (HDC graphicsContext)
 Draws the detected objects with their label and score.
void Draw (HDC graphicsContext, bool drawLabel, bool drawProbability, float zoomX, float zoomY, float panX, float panY)
 Draws the detected objects with their label and score.
void Draw (HDC graphicsContext, bool drawLabel, bool drawProbability, float zoomX, float zoomY, float panX)
 Draws the detected objects with their label and score.
void Draw (HDC graphicsContext, bool drawLabel, bool drawProbability, float zoomX, float zoomY)
 Draws the detected objects with their label and score.
void Draw (HDC graphicsContext, bool drawLabel, bool drawProbability, float zoomX)
 Draws the detected objects with their label and score.
void Draw (HDC graphicsContext, bool drawLabel, bool drawProbability)
 Draws the detected objects with their label and score.
int32_t FindObject (eVision::EPoint p) const
 Index of the first object located at the given location. Returns -1 if no object is at that position.
int32_t FindObject (int x, int y) const
 Index of the first object located at the given location. Returns -1 if no object is at that position.
 ELocatorResult (CppWrapperInternal::InternalConstructor)

Public Attributes

CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

Result of a ELocator tool.

License(s): BasicTypes

Constructor & Destructor Documentation

◆ ELocatorResult() [1/3]

eVision::EasyDeepLearning::ELocatorResult::ELocatorResult ( )

Constructs an ELocatorResult object.

◆ ELocatorResult() [2/3]

eVision::EasyDeepLearning::ELocatorResult::ELocatorResult ( const eVision::EasyDeepLearning::ELocatorResult & other)

Copy constructor.

Parameters
otherELocatorResult object

◆ ~ELocatorResult()

eVision::EasyDeepLearning::ELocatorResult::~ELocatorResult ( )
throw ( )
virtual

◆ ELocatorResult() [3/3]

eVision::EasyDeepLearning::ELocatorResult::ELocatorResult ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ Draw() [1/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter)

Draws the detected objects with their label and score.

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

◆ Draw() [2/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
bool drawLabel,
bool cropLabel,
bool drawProbability )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
bool drawLabel,
bool cropLabel,
bool drawProbability,
float zoomX )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * 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 EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * 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 EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * 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 EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
bool drawLabel,
bool drawProbability )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
bool drawLabel,
bool drawProbability,
float zoomX )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
bool drawLabel,
bool drawProbability,
float zoomX,
float zoomY )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * 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 EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * 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 EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
const eVision::EFrame & frame )

Draws the detected objects with their label and score.

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

◆ Draw() [13/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
const eVision::EFrame & frame,
bool drawLabel,
bool cropLabel,
bool drawProbability )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
const 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 EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
const 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 EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
const 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 EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
const 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 EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
const eVision::EFrame & frame,
bool drawLabel,
bool drawProbability )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
const eVision::EFrame & frame,
bool drawLabel,
bool drawProbability,
float zoomX )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
const 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 EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
const 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 EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
const 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 EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
const eVision::EFrame & frame,
float zoomX )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
const eVision::EFrame & frame,
float zoomX,
float zoomY )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
const eVision::EFrame & frame,
float zoomX,
float zoomY,
float panX )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
const 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 EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
float zoomX )

Draws the detected objects with their label and score.

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

◆ Draw() [28/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
float zoomX,
float zoomY )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
float zoomX,
float zoomY,
float panX )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the 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/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( eVision::EDrawAdapter * drawAdapter,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the detected objects with their label and score.

Parameters
drawAdapterA pointer to an EDrawAdapter (like the 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.

◆ Draw() [31/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( HDC graphicsContext)

Draws the detected objects with their label and score.

Parameters
graphicsContextHandle of the device context on which to draw.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [32/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( HDC graphicsContext,
bool drawLabel,
bool drawProbability )

Draws the detected objects with their label and score.

Parameters
graphicsContextHandle of the device context on which to draw.
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).
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [33/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( HDC graphicsContext,
bool drawLabel,
bool drawProbability,
float zoomX )

Draws the detected objects with their label and score.

Parameters
graphicsContextHandle of the device context on which to draw.
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.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [34/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( HDC graphicsContext,
bool drawLabel,
bool drawProbability,
float zoomX,
float zoomY )

Draws the detected objects with their label and score.

Parameters
graphicsContextHandle of the device context on which to draw.
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.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [35/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( HDC graphicsContext,
bool drawLabel,
bool drawProbability,
float zoomX,
float zoomY,
float panX )

Draws the detected objects with their label and score.

Parameters
graphicsContextHandle of the device context on which to draw.
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.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [36/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( HDC graphicsContext,
bool drawLabel,
bool drawProbability,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the detected objects with their label and score.

Parameters
graphicsContextHandle of the device context on which to draw.
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.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [37/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( HDC graphicsContext,
float zoomX )

Draws the detected objects with their label and score.

Parameters
graphicsContextHandle of the device context on which to draw.
zoomXHorizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [38/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( HDC graphicsContext,
float zoomX,
float zoomY )

Draws the detected objects with their label and score.

Parameters
graphicsContextHandle of the device context on which to draw.
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.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [39/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( HDC graphicsContext,
float zoomX,
float zoomY,
float panX )

Draws the detected objects with their label and score.

Parameters
graphicsContextHandle of the device context on which to draw.
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.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ Draw() [40/40]

void eVision::EasyDeepLearning::ELocatorResult::Draw ( HDC graphicsContext,
float zoomX,
float zoomY,
float panX,
float panY )

Draws the detected objects with their label and score.

Parameters
graphicsContextHandle of the device context on which to draw.
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.
Deprecated

Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

◆ FindObject() [1/2]

int32_t eVision::EasyDeepLearning::ELocatorResult::FindObject ( eVision::EPoint p) const

Index of the first object located at the given location. Returns -1 if no object is at that position.

Parameters
pA point.

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

◆ FindObject() [2/2]

int32_t eVision::EasyDeepLearning::ELocatorResult::FindObject ( int x,
int y ) const

Index of the first object located at the given location. Returns -1 if no object is at that position.

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

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

◆ GetDetectedObjects()

std::vector< eVision::EasyDeepLearning::ELocatorPredictedObject > eVision::EasyDeepLearning::ELocatorResult::GetDetectedObjects ( ) const

Detected objects.

◆ GetDetectionThreshold()

float eVision::EasyDeepLearning::ELocatorResult::GetDetectionThreshold ( ) const

Detection threshold set by the ELocator tool.

◆ GetGroundtruthObjects()

std::vector< eVision::EasyDeepLearning::ELocatorObject > eVision::EasyDeepLearning::ELocatorResult::GetGroundtruthObjects ( ) const

Groundtruth objects if ELocatorResult::HasGroundtruth is equal to true.

◆ GetLabel()

std::string eVision::EasyDeepLearning::ELocatorResult::GetLabel ( int i) const

i-th label recognized by the ELocator.

Parameters
iLabel index between 0 and ELocatorResult::GetNumLabels

◆ GetLabelColor() [1/2]

eVision::ERGBColor eVision::EasyDeepLearning::ELocatorResult::GetLabelColor ( const std::string & label) const

Color of a label.

Parameters
labelLabel for which to get the color

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

◆ GetLabelColor() [2/2]

eVision::ERGBColor eVision::EasyDeepLearning::ELocatorResult::GetLabelColor ( int i) const

Color of a label.

Parameters
iIndex of the label for which to get the color (between 0 and ELocatorResult::GetNumLabels - 1)

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

◆ GetLocatorFeatures()

int eVision::EasyDeepLearning::ELocatorResult::GetLocatorFeatures ( ) const

Locator features of the result.

◆ GetNumDetectedObjects() [1/3]

int eVision::EasyDeepLearning::ELocatorResult::GetNumDetectedObjects ( ) const

Number of detected objects in the image.

◆ GetNumDetectedObjects() [2/3]

int eVision::EasyDeepLearning::ELocatorResult::GetNumDetectedObjects ( const std::string & label) const

Number of detected objects in the image.

Parameters
labelLabel for which to count the detected objects

◆ GetNumDetectedObjects() [3/3]

int eVision::EasyDeepLearning::ELocatorResult::GetNumDetectedObjects ( int labelId) const

Number of detected objects in the image.

Parameters
labelIdIndex of label for which to count the detected objects

◆ GetNumLabels()

int eVision::EasyDeepLearning::ELocatorResult::GetNumLabels ( ) const

Number of labels the ELocator can recognize.

◆ GetObjectSize()

int eVision::EasyDeepLearning::ELocatorResult::GetObjectSize ( ) const

Object size for prediction made by a EInterestPointLocator.

◆ HasGroundtruth()

bool eVision::EasyDeepLearning::ELocatorResult::HasGroundtruth ( ) const

Whether the result has a groundtruth.

◆ IsValid()

bool eVision::EasyDeepLearning::ELocatorResult::IsValid ( ) const

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

◆ Load() [1/2]

void eVision::EasyDeepLearning::ELocatorResult::Load ( const std::string & path)

Loads a locator result. The given ESerializer must have been created for reading.

Parameters
pathThe file path.

◆ Load() [2/2]

void eVision::EasyDeepLearning::ELocatorResult::Load ( eVision::ESerializer * serializer)

Loads a locator result. The given ESerializer must have been created for reading.

Parameters
serializerThe serializer.

◆ operator=()

eVision::EasyDeepLearning::ELocatorResult & eVision::EasyDeepLearning::ELocatorResult::operator= ( const eVision::EasyDeepLearning::ELocatorResult & other)

Assignement operator.

Parameters
otherELocatorResult object.

◆ RemoveGroundtruth()

void eVision::EasyDeepLearning::ELocatorResult::RemoveGroundtruth ( )

Removes the groundtruth.

◆ Save() [1/2]

void eVision::EasyDeepLearning::ELocatorResult::Save ( const std::string & path)

Saves a locator result. The given ESerializer must have been created for writing.

Parameters
pathThe file path.

◆ Save() [2/2]

void eVision::EasyDeepLearning::ELocatorResult::Save ( eVision::ESerializer * serializer)

Saves a locator result. The given ESerializer must have been created for writing.

Parameters
serializerThe ESerializer object that is written to.

◆ ToRegion()

eVision::ERegion eVision::EasyDeepLearning::ELocatorResult::ToRegion ( ) const

Creates an ERegion from the ELocatorResult.

Member Data Documentation

◆ wrappedClass_

CppWrapperInternal::WrappedClass eVision::EasyDeepLearning::ELocatorResult::wrappedClass_