The helps in writing text on images.
Definition: text.h:17
static void putText(cv::Mat &img, const std::string &text, cv::Point origin, int fontFace, double fontScale, cv::Scalar color, int thickness=1, int lineType=8, bool bottomLeftOrigin=false)
Utility for drawing text with line breaks.
static void putCenteredText(cv::Mat &img, const std::string &text, int fontFace, double fontScale, cv::Scalar color, int thickness=1, int lineType=8)
Utility for drawing vertically & horizontally centered text with line breaks.