pub fn add_text(
img: &impl MatTraitConst,
text: &str,
org: Point,
font: &impl QtFontTraitConst,
) -> Result<()>
Expand description
Draws a text on the image.
The function addText draws text on the image img using a specific font font (see example cv::fontQt )
ยงParameters
- img: 8-bit 3-channel image where the text should be drawn.
- text: Text to write on an image.
- org: Point(x,y) where the text should start on an image.
- font: Font to use to draw a text.