CreateRects
The CreateRectangle block creates a rectangle with customizable geometry.
Library
ComputerVision/Shapes/Sources
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
useInput | Use inputs to define the start and end points | Number | 0 | |
startpoint | Start points | Determines the top left point of the rectangle in pixels. | Matrix of size Mx2 | |
endpoint | End points | Determines the bottom right point of the rectangle in pixels. | Matrix of size Mx2 | |
externalActivation | External activation | This parameter defines if the block receives or inherits an external activation. When External Activation is used, an additional activation port is added to the block. Default is OFF. | Number | 0 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
rect | explicit | output | 1 | |
Port 2 | explicit | input | 2*useInput | |
Port 3 | activation | input | externalActivation |