Sockets

Socket Colors and Types

AugeLab Studio provides different colors in sockets to indicate what kind of data is transferred through a socket. These colors show which class or data type the input/output belongs to. Read the descriptions below to learn which colors are associated with which data types.

circle-info

For more additional information on socket data types, refer to Coding Reference.

Light Green (Any Image)

chevron-rightLight Green (Any Image)hashtag

This socket color corresponds to a mixed image data type and only image data should be connected.

Camera USB block below has one green output socket and outputs a colored image it received from the camera.

circle-info

Light Green sockets output BGR and GRAY format data.

chevron-rightPurple (Gray Image)hashtag

Purple sockets correspond to grayscale image type. Color image data cannot be connected to this socket.

circle-info

Purple sockets output grayscale, single-channel image data. This data type may not be used by Light Green sockets. To convert it, use Color Space function block.

chevron-rightBlue (Colored Image)hashtag

Blue-colored sockets correspond to colored image data types. These guarantee a colored image output, unlike Light Green sockets.

circle-info

Colored Image consists of 3 different arrays, Blue-Green-Red. These also can be split with Split Image block.

chevron-rightLight Blue (Boolean)hashtag

Lift Blue colored sockets correspond to logic data types, which are either True or False.

For example, the camera block above has blue input sockets and only takes True or False values.

circle-info

Logic expressions consist of only two states; True and False.

chevron-rightYellow (Number)hashtag

Yellow sockets correspond to integer data type. The following function block has yellow sockets and takes only integer values.

circle-info

Integer basically means whole numbers.

Purple (Position)

chevron-rightPurple (Position)hashtag

Pink sockets output as position/point data type. For example ((x1,y1),(x2,y2)) you can get the position of any object.

circle-info

Point data type consists of two numbers, first is the horizontal position and the second is the vertical position.

chevron-rightOrange (Shape)hashtag

Orange sockets correspond to the shape data type.

circle-info

Shape data type consists of multiple points, which also consist of two numbers representing where they reside in two-dimensional space.

chevron-rightDark Green (Undefined)hashtag

Green sockets are sockets corresponding to undefined data types. These color sockets can contain any variant type and can be connected with other sockets.

circle-exclamation
chevron-rightGray (Text)hashtag

The gray sockets correspond to the text data type.

circle-info

Texts are strings and can be modified to represent results.

Last updated

Was this helpful?