Result of a ELocator tool. More...
#include <eVision/EasyDeepLearning/EasyLocate/ELocatorResult.h>
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_ |
Result of a ELocator tool.
License(s): BasicTypes
| eVision::EasyDeepLearning::ELocatorResult::ELocatorResult | ( | ) |
Constructs an ELocatorResult object.
| eVision::EasyDeepLearning::ELocatorResult::ELocatorResult | ( | const eVision::EasyDeepLearning::ELocatorResult & | other | ) |
Copy constructor.
| other | ELocatorResult object |
|
virtual | ||||||||||||
| eVision::EasyDeepLearning::ELocatorResult::ELocatorResult | ( | CppWrapperInternal::InternalConstructor | ) |
| void eVision::EasyDeepLearning::ELocatorResult::Draw | ( | eVision::EDrawAdapter * | drawAdapter | ) |
Draws the detected objects with their label and score.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| void eVision::EasyDeepLearning::ELocatorResult::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| bool | drawLabel, | ||
| bool | cropLabel, | ||
| bool | drawProbability ) |
Draws the detected objects with their label and score.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| cropLabel | Whether to crop the label of the detected object to the size of the object (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| cropLabel | Whether to crop the label of the detected object to the size of the object (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| cropLabel | Whether to crop the label of the detected object to the size of the object (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| cropLabel | Whether to crop the label of the detected object to the size of the object (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning factor, in pixels. By default, no panning occurs. |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| cropLabel | Whether to crop the label of the detected object to the size of the object (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning factor, in pixels. By default, no panning occurs. |
| panY | Vertical panning factor, in pixels. By default, no panning occurs. |
| void eVision::EasyDeepLearning::ELocatorResult::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| bool | drawLabel, | ||
| bool | drawProbability ) |
Draws the detected objects with their label and score.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| void eVision::EasyDeepLearning::ELocatorResult::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| bool | drawLabel, | ||
| bool | drawProbability, | ||
| float | zoomX ) |
Draws the detected objects with their label and score.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning factor, in pixels. By default, no panning occurs. |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning factor, in pixels. By default, no panning occurs. |
| panY | Vertical panning factor, in pixels. By default, no panning occurs. |
| void eVision::EasyDeepLearning::ELocatorResult::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EFrame & | frame ) |
Draws the detected objects with their label and score.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| cropLabel | Whether to crop the label of the detected object to the size of the object (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| cropLabel | Whether to crop the label of the detected object to the size of the object (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| cropLabel | Whether to crop the label of the detected object to the size of the object (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| cropLabel | Whether to crop the label of the detected object to the size of the object (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning factor, in pixels. By default, no panning occurs. |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| cropLabel | Whether to crop the label of the detected object to the size of the object (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning factor, in pixels. By default, no panning occurs. |
| panY | Vertical panning factor, in pixels. By default, no panning occurs. |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning factor, in pixels. By default, no panning occurs. |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning factor, in pixels. By default, no panning occurs. |
| panY | Vertical panning factor, in pixels. By default, no panning occurs. |
| void eVision::EasyDeepLearning::ELocatorResult::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| const eVision::EFrame & | frame, | ||
| float | zoomX ) |
Draws the detected objects with their label and score.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning factor, in pixels. By default, no panning occurs. |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| frame | Frame of reference in which this result was computed. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning factor, in pixels. By default, no panning occurs. |
| panY | Vertical panning factor, in pixels. By default, no panning occurs. |
| void eVision::EasyDeepLearning::ELocatorResult::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| float | zoomX ) |
Draws the detected objects with their label and score.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| void eVision::EasyDeepLearning::ELocatorResult::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| float | zoomX, | ||
| float | zoomY ) |
Draws the detected objects with their label and score.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| void eVision::EasyDeepLearning::ELocatorResult::Draw | ( | eVision::EDrawAdapter * | drawAdapter, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the detected objects with their label and score.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning factor, in pixels. By default, no panning occurs. |
| 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.
| drawAdapter | A pointer to an EDrawAdapter (like the EWindowsDrawAdapter). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning factor, in pixels. By default, no panning occurs. |
| panY | Vertical panning factor, in pixels. By default, no panning occurs. |
| void eVision::EasyDeepLearning::ELocatorResult::Draw | ( | HDC | graphicsContext | ) |
Draws the detected objects with their label and score.
| graphicsContext | Handle of the device context on which to draw. |
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.
| void eVision::EasyDeepLearning::ELocatorResult::Draw | ( | HDC | graphicsContext, |
| bool | drawLabel, | ||
| bool | drawProbability ) |
Draws the detected objects with their label and score.
| graphicsContext | Handle of the device context on which to draw. |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
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.
| void eVision::EasyDeepLearning::ELocatorResult::Draw | ( | HDC | graphicsContext, |
| bool | drawLabel, | ||
| bool | drawProbability, | ||
| float | zoomX ) |
Draws the detected objects with their label and score.
| graphicsContext | Handle of the device context on which to draw. |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
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.
| void eVision::EasyDeepLearning::ELocatorResult::Draw | ( | HDC | graphicsContext, |
| bool | drawLabel, | ||
| bool | drawProbability, | ||
| float | zoomX, | ||
| float | zoomY ) |
Draws the detected objects with their label and score.
| graphicsContext | Handle of the device context on which to draw. |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
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.
| 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.
| graphicsContext | Handle of the device context on which to draw. |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning factor, in pixels. By default, no panning occurs. |
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.
| 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.
| graphicsContext | Handle of the device context on which to draw. |
| drawLabel | Whether to draw the label of each detected object or not (default: true). |
| drawProbability | Whether to draw the probability of each detected object or not (default: true). |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning factor, in pixels. By default, no panning occurs. |
| panY | Vertical panning factor, in pixels. By default, no panning occurs. |
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.
| void eVision::EasyDeepLearning::ELocatorResult::Draw | ( | HDC | graphicsContext, |
| float | zoomX ) |
Draws the detected objects with their label and score.
| graphicsContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
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.
| void eVision::EasyDeepLearning::ELocatorResult::Draw | ( | HDC | graphicsContext, |
| float | zoomX, | ||
| float | zoomY ) |
Draws the detected objects with their label and score.
| graphicsContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
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.
| void eVision::EasyDeepLearning::ELocatorResult::Draw | ( | HDC | graphicsContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX ) |
Draws the detected objects with their label and score.
| graphicsContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning factor, in pixels. By default, no panning occurs. |
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.
| void eVision::EasyDeepLearning::ELocatorResult::Draw | ( | HDC | graphicsContext, |
| float | zoomX, | ||
| float | zoomY, | ||
| float | panX, | ||
| float | panY ) |
Draws the detected objects with their label and score.
| graphicsContext | Handle of the device context on which to draw. |
| zoomX | Horizontal zooming factor. A value greater than 1 means zoom in. By default, true scale is used. |
| zoomY | Vertical 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. |
| panX | Horizontal panning factor, in pixels. By default, no panning occurs. |
| panY | Vertical panning factor, in pixels. By default, no panning occurs. |
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.
| 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.
| p | A point. |
As several objects can overlap, this method returns the first object (the object with the lowest index) that contains the given location.
| 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.
| x | X-coordinate of tested point. |
| y | Y-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.
| std::vector< eVision::EasyDeepLearning::ELocatorPredictedObject > eVision::EasyDeepLearning::ELocatorResult::GetDetectedObjects | ( | ) | const |
Detected objects.
| float eVision::EasyDeepLearning::ELocatorResult::GetDetectionThreshold | ( | ) | const |
Detection threshold set by the ELocator tool.
| std::vector< eVision::EasyDeepLearning::ELocatorObject > eVision::EasyDeepLearning::ELocatorResult::GetGroundtruthObjects | ( | ) | const |
Groundtruth objects if ELocatorResult::HasGroundtruth is equal to true.
| std::string eVision::EasyDeepLearning::ELocatorResult::GetLabel | ( | int | i | ) | const |
i-th label recognized by the ELocator.
| i | Label index between 0 and ELocatorResult::GetNumLabels |
| eVision::ERGBColor eVision::EasyDeepLearning::ELocatorResult::GetLabelColor | ( | const std::string & | label | ) | const |
Color of a label.
| label | Label 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.
| eVision::ERGBColor eVision::EasyDeepLearning::ELocatorResult::GetLabelColor | ( | int | i | ) | const |
Color of a label.
| i | Index 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.
| int eVision::EasyDeepLearning::ELocatorResult::GetLocatorFeatures | ( | ) | const |
Locator features of the result.
| int eVision::EasyDeepLearning::ELocatorResult::GetNumDetectedObjects | ( | ) | const |
Number of detected objects in the image.
| int eVision::EasyDeepLearning::ELocatorResult::GetNumDetectedObjects | ( | const std::string & | label | ) | const |
Number of detected objects in the image.
| label | Label for which to count the detected objects |
| int eVision::EasyDeepLearning::ELocatorResult::GetNumDetectedObjects | ( | int | labelId | ) | const |
Number of detected objects in the image.
| labelId | Index of label for which to count the detected objects |
| int eVision::EasyDeepLearning::ELocatorResult::GetNumLabels | ( | ) | const |
Number of labels the ELocator can recognize.
| int eVision::EasyDeepLearning::ELocatorResult::GetObjectSize | ( | ) | const |
Object size for prediction made by a EInterestPointLocator.
| bool eVision::EasyDeepLearning::ELocatorResult::HasGroundtruth | ( | ) | const |
Whether the result has a groundtruth.
| bool eVision::EasyDeepLearning::ELocatorResult::IsValid | ( | ) | const |
Whether the result is valid and was produced by a ELocator objet.
| void eVision::EasyDeepLearning::ELocatorResult::Load | ( | const std::string & | path | ) |
Loads a locator result. The given ESerializer must have been created for reading.
| path | The file path. |
| void eVision::EasyDeepLearning::ELocatorResult::Load | ( | eVision::ESerializer * | serializer | ) |
Loads a locator result. The given ESerializer must have been created for reading.
| serializer | The serializer. |
| eVision::EasyDeepLearning::ELocatorResult & eVision::EasyDeepLearning::ELocatorResult::operator= | ( | const eVision::EasyDeepLearning::ELocatorResult & | other | ) |
Assignement operator.
| other | ELocatorResult object. |
| void eVision::EasyDeepLearning::ELocatorResult::RemoveGroundtruth | ( | ) |
Removes the groundtruth.
| void eVision::EasyDeepLearning::ELocatorResult::Save | ( | const std::string & | path | ) |
Saves a locator result. The given ESerializer must have been created for writing.
| path | The file path. |
| void eVision::EasyDeepLearning::ELocatorResult::Save | ( | eVision::ESerializer * | serializer | ) |
Saves a locator result. The given ESerializer must have been created for writing.
| serializer | The ESerializer object that is written to. |
| eVision::ERegion eVision::EasyDeepLearning::ELocatorResult::ToRegion | ( | ) | const |
Creates an ERegion from the ELocatorResult.
| CppWrapperInternal::WrappedClass eVision::EasyDeepLearning::ELocatorResult::wrappedClass_ |