CreateRects

The CreateRectangle block creates a rectangle with customizable geometry.

    CreateRects

Library

ComputerVision/Shapes/Sources

Parameters

CreateRects_0

NameLabelDescriptionData TypeValid Values

useInput

Use inputs to define the start and end points

Number

0
1

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
1

Ports

NameTypeDescriptionIO TypeNumber

rect

explicit

output

1

Port 2

explicit

input

2*useInput

Port 3

activation

input

externalActivation