Click or drag to resize

Cv2PutText Method

renders text string in the image

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static void PutText(
	InputOutputArray img,
	string text,
	Point org,
	HersheyFonts fontFace,
	double fontScale,
	Scalar color,
	int thickness = 1,
	LineTypes lineType = LineTypes.Link8,
	bool bottomLeftOrigin = false
)

Parameters

img
Type: OpenCvSharpInputOutputArray
text
Type: SystemString
org
Type: OpenCvSharpPoint
fontFace
Type: OpenCvSharpHersheyFonts
fontScale
Type: SystemDouble
color
Type: OpenCvSharpScalar
thickness (Optional)
Type: SystemInt32
lineType (Optional)
Type: OpenCvSharpLineTypes
bottomLeftOrigin (Optional)
Type: SystemBoolean
See Also