EOCR2::DrawRecognition

Draws the recognized text next to the character bounding box in the image.

Namespace: Euresys::Open_eVision

[C++]

void DrawRecognition(
   EDrawAdapter* drawAdapter,
   EasyOCR2DrawRecognitionStyle style,
   OEV_UINT32 cHeight,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void DrawRecognition(
   EDrawAdapter* drawAdapter,
   EasyOCR2DrawRecognitionStyle style,
   OEV_UINT32 cHeight,
   float zoomX,
   float zoomY,
   float panX
)

void DrawRecognition(
   EDrawAdapter* drawAdapter,
   EasyOCR2DrawRecognitionStyle style,
   OEV_UINT32 cHeight,
   float zoomX,
   float zoomY
)

void DrawRecognition(
   EDrawAdapter* drawAdapter,
   EasyOCR2DrawRecognitionStyle style,
   OEV_UINT32 cHeight,
   float zoomX
)

void DrawRecognition(
   EDrawAdapter* drawAdapter,
   EasyOCR2DrawRecognitionStyle style,
   OEV_UINT32 cHeight
)

void DrawRecognition(
   EDrawAdapter* drawAdapter,
   EasyOCR2DrawRecognitionStyle style
)

[[deprecated("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]]
void DrawRecognition(
   HDC hdc,
   EasyOCR2DrawRecognitionStyle style,
   OEV_UINT32 cHeight,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

[[deprecated("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]]
void DrawRecognition(
   HDC hdc,
   EasyOCR2DrawRecognitionStyle style,
   OEV_UINT32 cHeight,
   float zoomX,
   float zoomY,
   float panX
)

[[deprecated("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]]
void DrawRecognition(
   HDC hdc,
   EasyOCR2DrawRecognitionStyle style,
   OEV_UINT32 cHeight,
   float zoomX,
   float zoomY
)

[[deprecated("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]]
void DrawRecognition(
   HDC hdc,
   EasyOCR2DrawRecognitionStyle style,
   OEV_UINT32 cHeight,
   float zoomX
)

[[deprecated("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]]
void DrawRecognition(
   HDC hdc,
   EasyOCR2DrawRecognitionStyle style,
   OEV_UINT32 cHeight
)

[[deprecated("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]]
void DrawRecognition(
   HDC hdc,
   EasyOCR2DrawRecognitionStyle style
)

[[deprecated("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]]
void DrawRecognition(
   HDC hdc,
   ERGBColor textColor,
   ERGBColor backgroundColor,
   EasyOCR2DrawRecognitionStyle style,
   OEV_UINT32 cHeight,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

[[deprecated("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]]
void DrawRecognition(
   HDC hdc,
   ERGBColor textColor,
   ERGBColor backgroundColor,
   EasyOCR2DrawRecognitionStyle style,
   OEV_UINT32 cHeight,
   float zoomX,
   float zoomY,
   float panX
)

[[deprecated("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]]
void DrawRecognition(
   HDC hdc,
   ERGBColor textColor,
   ERGBColor backgroundColor,
   EasyOCR2DrawRecognitionStyle style,
   OEV_UINT32 cHeight,
   float zoomX,
   float zoomY
)

[[deprecated("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]]
void DrawRecognition(
   HDC hdc,
   ERGBColor textColor,
   ERGBColor backgroundColor,
   EasyOCR2DrawRecognitionStyle style,
   OEV_UINT32 cHeight,
   float zoomX
)

[[deprecated("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]]
void DrawRecognition(
   HDC hdc,
   ERGBColor textColor,
   ERGBColor backgroundColor,
   EasyOCR2DrawRecognitionStyle style,
   OEV_UINT32 cHeight
)

[[deprecated("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]]
void DrawRecognition(
   HDC hdc,
   ERGBColor textColor,
   ERGBColor backgroundColor,
   EasyOCR2DrawRecognitionStyle style
)

Parameters

drawAdapter

EDrawAdapter that will be used to draw.

style

The style in which each recognition result should be drawn.

cHeight

The character-height with which the recognized text should be displayed.

zoomX

Horizontal zooming factor. By default, true scale is used.

zoomY

Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

panX

Horizontal panning value expressed in pixels. By default, no panning occurs.

panY

Vertical panning value expressed in pixels. By default, no panning occurs.

hdc

Handle of the device context on which to draw.

textColor

The color in which to draw the recognized text.

backgroundColor

The color of the box in which the text is displayed.

EOCR2.DrawRecognition

Draws the recognized text next to the character bounding box in the image.

Namespace: Euresys.Open_eVision

[C#]

void DrawRecognition(
   EDrawAdapter drawAdapter,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

void DrawRecognition(
   EDrawAdapter drawAdapter,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX,
   float zoomY,
   float panX
)

void DrawRecognition(
   EDrawAdapter drawAdapter,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX,
   float zoomY
)

void DrawRecognition(
   EDrawAdapter drawAdapter,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX
)

void DrawRecognition(
   EDrawAdapter drawAdapter,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight
)

void DrawRecognition(
   EDrawAdapter drawAdapter,
   EasyOCR2DrawRecognitionStyle style
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   IntPtr hdc,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   IntPtr hdc,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX,
   float zoomY,
   float panX
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   IntPtr hdc,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX,
   float zoomY
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   IntPtr hdc,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   IntPtr hdc,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   IntPtr hdc,
   EasyOCR2DrawRecognitionStyle style
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   IntPtr hdc,
   ERGBColor textColor,
   ERGBColor backgroundColor,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   IntPtr hdc,
   ERGBColor textColor,
   ERGBColor backgroundColor,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX,
   float zoomY,
   float panX
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   IntPtr hdc,
   ERGBColor textColor,
   ERGBColor backgroundColor,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX,
   float zoomY
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   IntPtr hdc,
   ERGBColor textColor,
   ERGBColor backgroundColor,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   IntPtr hdc,
   ERGBColor textColor,
   ERGBColor backgroundColor,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   IntPtr hdc,
   ERGBColor textColor,
   ERGBColor backgroundColor,
   EasyOCR2DrawRecognitionStyle style
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   System.Drawing.Graphics hdc,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   System.Drawing.Graphics hdc,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX,
   float zoomY,
   float panX
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   System.Drawing.Graphics hdc,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX,
   float zoomY
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   System.Drawing.Graphics hdc,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   System.Drawing.Graphics hdc,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   System.Drawing.Graphics hdc,
   EasyOCR2DrawRecognitionStyle style
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   System.Drawing.Graphics hdc,
   ERGBColor textColor,
   ERGBColor backgroundColor,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX,
   float zoomY,
   float panX,
   float panY
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   System.Drawing.Graphics hdc,
   ERGBColor textColor,
   ERGBColor backgroundColor,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX,
   float zoomY,
   float panX
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   System.Drawing.Graphics hdc,
   ERGBColor textColor,
   ERGBColor backgroundColor,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX,
   float zoomY
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   System.Drawing.Graphics hdc,
   ERGBColor textColor,
   ERGBColor backgroundColor,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight,
   float zoomX
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   System.Drawing.Graphics hdc,
   ERGBColor textColor,
   ERGBColor backgroundColor,
   EasyOCR2DrawRecognitionStyle style,
   uint cHeight
)

[Obsolete("Use the overload taking an EDrawAdapter by using an instance of EWindowsDrawAdapter.")]
void DrawRecognition(
   System.Drawing.Graphics hdc,
   ERGBColor textColor,
   ERGBColor backgroundColor,
   EasyOCR2DrawRecognitionStyle style
)

Parameters

drawAdapter

EDrawAdapter that will be used to draw.

style

The style in which each recognition result should be drawn.

cHeight

The character-height with which the recognized text should be displayed.

zoomX

Horizontal zooming factor. By default, true scale is used.

zoomY

Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

panX

Horizontal panning value expressed in pixels. By default, no panning occurs.

panY

Vertical panning value expressed in pixels. By default, no panning occurs.

hdc

Handle of the device context on which to draw.

textColor

The color in which to draw the recognized text.

backgroundColor

The color of the box in which the text is displayed.

EOCR2.DrawRecognition

Draws the recognized text next to the character bounding box in the image.

Module: open_evision

[Python]

DrawRecognition(
    drawAdapter: EDrawAdapter
    style: EasyOCR2DrawRecognitionStyle
    cHeight: int
    zoomX: float
    zoomY: float
    panX: float
    panY: float
) -> None

DrawRecognition(
    drawAdapter: EDrawAdapter
    style: EasyOCR2DrawRecognitionStyle
    cHeight: int
    zoomX: float
    zoomY: float
    panX: float
) -> None

DrawRecognition(
    drawAdapter: EDrawAdapter
    style: EasyOCR2DrawRecognitionStyle
    cHeight: int
    zoomX: float
    zoomY: float
) -> None

DrawRecognition(
    drawAdapter: EDrawAdapter
    style: EasyOCR2DrawRecognitionStyle
    cHeight: int
    zoomX: float
) -> None

DrawRecognition(
    drawAdapter: EDrawAdapter
    style: EasyOCR2DrawRecognitionStyle
    cHeight: int
) -> None

DrawRecognition(
    drawAdapter: EDrawAdapter
    style: EasyOCR2DrawRecognitionStyle
) -> None

Parameters

drawAdapter

EDrawAdapter that will be used to draw.

style

The style in which each recognition result should be drawn.

cHeight

The character-height with which the recognized text should be displayed.

zoomX

Horizontal zooming factor. By default, true scale is used.

zoomY

Vertical zooming factor. If set to 0 (default), the horizontal zooming factor is used instead, so as to provide isotropic zooming.

panX

Horizontal panning value expressed in pixels. By default, no panning occurs.

panY

Vertical panning value expressed in pixels. By default, no panning occurs.