Cv2PutText Method OpenCvSharp Class Library
renders text string in the image

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void PutText(
	Mat img,
	string text,
	Point org,
	FontFace fontFace,
	double fontScale,
	Scalar color,
	int thickness = 1,
	LineType lineType = LineType.Link8,
	bool bottomLeftOrigin = false
)

Parameters

img
Type: OpenCvSharp.CPlusPlusMat

[Missing <param name="img"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.PutText(OpenCvSharp.CPlusPlus.Mat,System.String,OpenCvSharp.CPlusPlus.Point,OpenCvSharp.FontFace,System.Double,OpenCvSharp.CPlusPlus.Scalar,System.Int32,OpenCvSharp.LineType,System.Boolean)"]

text
Type: SystemString

[Missing <param name="text"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.PutText(OpenCvSharp.CPlusPlus.Mat,System.String,OpenCvSharp.CPlusPlus.Point,OpenCvSharp.FontFace,System.Double,OpenCvSharp.CPlusPlus.Scalar,System.Int32,OpenCvSharp.LineType,System.Boolean)"]

org
Type: OpenCvSharp.CPlusPlusPoint

[Missing <param name="org"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.PutText(OpenCvSharp.CPlusPlus.Mat,System.String,OpenCvSharp.CPlusPlus.Point,OpenCvSharp.FontFace,System.Double,OpenCvSharp.CPlusPlus.Scalar,System.Int32,OpenCvSharp.LineType,System.Boolean)"]

fontFace
Type: OpenCvSharpFontFace

[Missing <param name="fontFace"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.PutText(OpenCvSharp.CPlusPlus.Mat,System.String,OpenCvSharp.CPlusPlus.Point,OpenCvSharp.FontFace,System.Double,OpenCvSharp.CPlusPlus.Scalar,System.Int32,OpenCvSharp.LineType,System.Boolean)"]

fontScale
Type: SystemDouble

[Missing <param name="fontScale"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.PutText(OpenCvSharp.CPlusPlus.Mat,System.String,OpenCvSharp.CPlusPlus.Point,OpenCvSharp.FontFace,System.Double,OpenCvSharp.CPlusPlus.Scalar,System.Int32,OpenCvSharp.LineType,System.Boolean)"]

color
Type: OpenCvSharp.CPlusPlusScalar

[Missing <param name="color"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.PutText(OpenCvSharp.CPlusPlus.Mat,System.String,OpenCvSharp.CPlusPlus.Point,OpenCvSharp.FontFace,System.Double,OpenCvSharp.CPlusPlus.Scalar,System.Int32,OpenCvSharp.LineType,System.Boolean)"]

thickness (Optional)
Type: SystemInt32

[Missing <param name="thickness"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.PutText(OpenCvSharp.CPlusPlus.Mat,System.String,OpenCvSharp.CPlusPlus.Point,OpenCvSharp.FontFace,System.Double,OpenCvSharp.CPlusPlus.Scalar,System.Int32,OpenCvSharp.LineType,System.Boolean)"]

lineType (Optional)
Type: OpenCvSharpLineType

[Missing <param name="lineType"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.PutText(OpenCvSharp.CPlusPlus.Mat,System.String,OpenCvSharp.CPlusPlus.Point,OpenCvSharp.FontFace,System.Double,OpenCvSharp.CPlusPlus.Scalar,System.Int32,OpenCvSharp.LineType,System.Boolean)"]

bottomLeftOrigin (Optional)
Type: SystemBoolean

[Missing <param name="bottomLeftOrigin"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.PutText(OpenCvSharp.CPlusPlus.Mat,System.String,OpenCvSharp.CPlusPlus.Point,OpenCvSharp.FontFace,System.Double,OpenCvSharp.CPlusPlus.Scalar,System.Int32,OpenCvSharp.LineType,System.Boolean)"]

See Also

Reference