cv2.putText

简介:
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.

目录
相关文章
|
5月前
|
存储 编译器 计算机视觉
cv::Mat
cv::Mat
33 3
|
12月前
|
计算机视觉
Emgu.CV 报错 Emgu.CV.Util.CvException: OpenCV
Emgu.CV 报错 Emgu.CV.Util.CvException: OpenCV 异常信息:Emgu.CV.Util.CvException: OpenCV: 在 Emgu.CV.CvInvoke.CvErrorHandler(Int32 status, IntPtr funcName, IntPtr errMsg, IntPtr fileName, Int32 line, I...
128 1
|
12月前
|
计算机视觉
OpenCV-高斯滤波cv::GaussianBlur
OpenCV-高斯滤波cv::GaussianBlur
|
5月前
|
计算机视觉
cv2.putText
cv2.putText
300 1
|
5月前
|
计算机视觉 Python
cv2.polylines
cv2.polylines
212 1
|
12月前
|
计算机视觉
OpenCV-中值滤波cv::medianBlur
OpenCV-中值滤波cv::medianBlur
|
12月前
|
计算机视觉
|
SQL Java Android开发
Mat使用详解
Mat使用详解
|
存储 计算机视觉
OpenCV矩阵cv::Mat通道和位深的整理(CV_8UC1,CV_32FC1等等)
OpenCV矩阵cv::Mat通道和位深的整理(CV_8UC1,CV_32FC1等等)
1637 0
|
计算机视觉 Python
PIL.Image.open和cv2.imread的比较与相互转换
PIL.Image.open读入的是RGB顺序,而opencv中cv2.imread读入的是BGR通道顺序 。cv2.imread会显示图片更蓝一些。
438 0
PIL.Image.open和cv2.imread的比较与相互转换