putText(...)
putText(img, text, org, fontFace, fontScale, color[, thickness[, lineType[, bottomLeftOrigin]]]) -> img
文本内容,起点坐标,字体,字体大小,颜色,线宽,线类型(cv2.LINE_AA)
. @brief Draws a text string.
.
. The function putText renders the specified text string in the image. Symbols that cannot be rendered
. using the specified font are replaced by question marks. See getTextSize for a text rendering code
. example.
.
. @param img Image.
. @param text Text string to be drawn.
. @param org Bottom-left corner of the text string in the image.
. @param fontFace Font type, see cv::HersheyFonts.
. @param fontScale Font scale factor that is multiplied by the font-specific base size.
. @param color Text color.
. @param thickness Thickness of the lines used to draw a text.
. @param lineType Line type. See the line for details.
. @param bottomLeftOrigin When true, the image data origin is at the bottom-left corner. Otherwise,
. it is at the top-left corner.