Comment on page
A function block consists of several elements:
- 4.Unique Name
Headers can be modified by double-clicking on and setting a custom name.
Tool-tips are shown when blocks are hovered on with mouse and display information on inner mechanics of a block.
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
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.
Results get sent away from outputs and transferred to other blocks by connecting to an input socket.
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.
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 sockets correspond to grayscale image type. Color image data cannot be connected to this socket.
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 sockets correspond to integer data type. The following function block has yellow sockets and takes only integer values.
Integer basically means whole numbers.
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 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 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.
The gray sockets correspond to the text data type.
Texts are strings and can be modified to represent results.