Class WatermarkNode

Inheritance Relationships

Base Type

  • public rclcpp::Node

Class Documentation

class WatermarkNode : public rclcpp::Node

Node that receives an image, adds some text as a watermark, and publishes it again.

Public Functions

inline explicit WatermarkNode(const std::string &input, const std::string &output, const std::string &text, const std::string &node_name = "watermark_node")

Construct a WatermarkNode that accepts an image, adds a watermark, and republishes it.

Parameters:
  • input – The name of the topic to subscribe to

  • output – The topic to publish watermarked images to

  • text – The text to add to the image

  • node_name – The node name to use