ELocatorResult::Draw

Draws the detected objects with their label and score.

Namespace: Euresys::Open_eVision::EasyDeepLearning

[C++]

void Draw(
   EDrawAdapter* graphicsContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   EDrawAdapter* graphicsContext,
   bool drawLabel,
   bool drawProbability,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   HDC graphicsContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   HDC graphicsContext,
   bool drawLabel,
   bool drawProbability,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

Parameters

graphicsContext

-

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.

drawLabel

Whether to draw the label of each detected object or not

drawProbability

Whether to draw the probability of each detected object or not

Remarks

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.

ELocatorResult.Draw

Draws the detected objects with their label and score.

Namespace: Euresys.Open_eVision.EasyDeepLearning

[C#]

void Draw(
   Euresys.Open_eVision.EDrawAdapter graphicsContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   Euresys.Open_eVision.EDrawAdapter graphicsContext,
   bool drawLabel,
   bool drawProbability,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   IntPtr graphicsContext,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void Draw(
   IntPtr graphicsContext,
   bool drawLabel,
   bool drawProbability,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

Parameters

graphicsContext

-

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.

drawLabel

Whether to draw the label of each detected object or not

drawProbability

Whether to draw the probability of each detected object or not

Remarks

Deprecation notice: All methods taking HDC as parameter are deprecated. It is recommended to use their alternative taking a EDrawAdapter by using a instance of EWindowsDrawAdapter.