Draw
====
Draws a box, circle, cross or text on an image (u, v centre; width, height or radius).
``draw`` · opencv
.. raw:: html
Drawfn
shapebox
colorgreen
thickness1
text
scale0.5
Inputs
------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``image``
- image
- —
- —
* - ``u``
- signal
- —
- —
* - ``v``
- signal
- —
- —
* - ``width``
- signal
- —
- —
* - ``height``
- signal
- —
- —
Outputs
-------
.. list-table::
:header-rows: 1
* - Port
- Type
- Unit
- Components
* - ``image``
- image
- —
- —
Parameters
----------
.. list-table::
:header-rows: 1
* - Param
- Type
- Default
- Options or unit
* - ``shape``
- enum
- ``"box"``
- ``box``, ``circle``, ``cross``, ``text``
* - ``color``
- enum
- ``"green"``
- ``green``, ``red``, ``blue``, ``yellow``, ``white``, ``orange``
* - ``thickness``
- number
- ``1.0``
- —
* - ``text``
- text
- —
- —
* - ``scale``
- number
- ``0.5``
- —