Click or drag to resize

CvInvokePutText Method

http://www.emgu.com
Renders the text in the image with the specified font and color. The printed text is clipped by ROI rectangle. Symbols that do not belong to the specified font are replaced with the rectangle symbol.

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static void PutText(
	IInputOutputArray img,
	string text,
	Point org,
	FontFace fontFace,
	double fontScale,
	MCvScalar color,
	int thickness = 1,
	LineType lineType = LineType.EightConnected,
	bool bottomLeftOrigin = false
)

Parameters

img
Type: Emgu.CVIInputOutputArray
Input image
text
Type: SystemString
String to print
org
Type: System.DrawingPoint
Coordinates of the bottom-left corner of the first letter
fontFace
Type: Emgu.CV.CvEnumFontFace
Font type.
fontScale
Type: SystemDouble
Font scale factor that is multiplied by the font-specific base size.
color
Type: Emgu.CV.StructureMCvScalar
Text color
thickness (Optional)
Type: SystemInt32
Thickness of the lines used to draw a text.
lineType (Optional)
Type: Emgu.CV.CvEnumLineType
Line type
bottomLeftOrigin (Optional)
Type: SystemBoolean
When true, the image data origin is at the bottom-left corner. Otherwise, it is at the top-left corner.
See Also