AugeLab Studio Manual
Ask or search…
Comment on page

Block Structures

A function block consists of several elements:
  1. 1.
  2. 2.
  3. 3.
  4. 4.
    Unique Name
Headers can be modified by double-clicking on and setting a custom name.

Tool Tips

Tool-tips are shown when blocks are hovered on with mouse and display information on inner mechanics of a block.
Same rules also apply to components. Hovering over components may show additional information:


Components are custom buttons, lists, or any kind of interactable objects that are shown inside a function block. These widgets can alter the functionality of each function block.
Two same blocks with different widget configurations

Inputs Sockets

Data is sent to blocks through input sockets. There are usually multiple sockets in a single block.
Robust data transfer is guaranteed when sockets with same color or category are connected.

Output Sockets

Results get sent away from outputs and transferred to other blocks by connecting to an input socket.

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.
For more additional information on socket data types, refer to Coding Reference.

Light Green (Any Image)

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.
Light Green sockets output BGR and GRAY format data.

Purple (Gray Image)

Purple sockets correspond to grayscale image type. Color image data cannot be connected to this socket.
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.

Blue (Colored Image)

Blue-colored sockets correspond to colored image data types. These guarantee a colored image output, unlike Light Green sockets.
Colored Image consists of 3 different arrays, Blue-Green-Red. These also can be split with Split Image block.

Light Blue (Boolean)

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.
Logic expressions consist of only two states; True and False.

Yellow (Number)

Yellow sockets correspond to integer data type. The following function block has yellow sockets and takes only integer values.
Integer basically means whole numbers.

Purple (Position)

Pink sockets output as position/point data type. For example ((x1,y1),(x2,y2)) you can get the position of any object.
Point data type consists of two numbers, first is the horizontal position and the second is the vertical position.

Orange (Shape)

Orange sockets correspond to the shape data type.
Shape data type consists of multiple points, which also consist of two numbers representing where they reside in two-dimensional space.

Green (Undefined)

Green sockets are sockets corresponding to undefined data types. These color sockets can contain any variant type and can be connected with other sockets.
Be careful when working with green type sockets and make sure data flow is safe.

Gray (Text)

The gray sockets correspond to the text data type.
Texts are strings and can be modified to represent results.