🖥
🖥
🖥
🖥
AugeLab Studio Manual
English
Ask or search…
K
Comment on page

Write Text on Image

Write Text on Image Node Documentation

The Write Text on Image node in AugeLab Studio is used to write custom text on an input image.

Node Overview

The Write Text on Image node takes an input image and writes custom text on the image. The node provides controls to customize the font scale, horizontal position, and vertical position of the text on the image.

Node Properties

  • Node Title: Write Text On Image
  • Node ID: OP_NODE_WRITE_TEXT_ON_IMAGE

Inputs

The Write Text on Image node has the following input sockets:
  1. 1.
    Image: The input image on which the text will be written.
  2. 2.
    Text: The custom text to be written on the image. If not connected, no text will be written.

Outputs

The Write Text on Image node has the following output socket:
  1. 1.
    Image: The resulting image with the custom text written on it.

UI Controls

The Write Text on Image node provides the following UI controls:
  • Font Scale: A slider control to adjust the font scale of the text.
  • Horizontal Position: A slider control to adjust the horizontal position of the text.
  • Vertical Position: A slider control to adjust the vertical position of the text.

Usage

  1. 1.
    Drag and drop the Write Text on Image node from the node library onto the canvas in AugeLab Studio.
  2. 2.
    Connect the input image to the Image input socket of the Write Text on Image node.
  3. 3.
    Optionally, connect a text source to the Text input socket of the Write Text on Image node. If no text is connected, no text will be written on the image.
  4. 4.
    Adjust the font scale, horizontal position, and vertical position sliders to customize the appearance and position of the text on the image.
  5. 5.
    Run the pipeline.
  6. 6.
    The Write Text on Image node will write the custom text on the input image.
  7. 7.
    The resulting image with the text written on it will be output through the Image output socket.
  8. 8.
    Use the resulting image for further analysis, visualization, or saving.

Notes

  • The Write Text on Image node uses the OpenCV function cv2.putText to write the text on the image.
  • The font scale determines the size of the text relative to the image dimensions. Higher values increase the text size.
  • The horizontal position slider adjusts the horizontal position of the text relative to the image width. Higher values move the text to the right.
  • The vertical position slider adjusts the vertical position of the text relative to the image height. Higher values move the text downwards.
  • The resulting image will have the same size and type as the input image.
  • The Write Text on Image node is useful for adding custom annotations, labels, or captions to images for various image processing and analysis applications.
That concludes the documentation for the Write Text on Image node in AugeLab Studio. This node allows you to write custom text on an image, customize the font scale, and position of the text, and obtain the resulting image with the text written on it. The node provides UI controls to adjust the font scale, horizontal position, and vertical position of the text. Use this node to add annotations, labels, or captions to images for various image processing and analysis tasks.