[−][src]Function opencv::highgui::add_text_with_font
pub fn add_text_with_font(
img: &Mat,
text: &str,
org: Point,
font: &QtFont
) -> Result<()>
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.