美文网首页
2020-08-17 python cv2的字体

2020-08-17 python cv2的字体

作者: Joyner2018 | 来源:发表于2020-08-17 02:54 被阅读0次

    FONT_HERSHEY_SIMPLEX

    Python: cv.FONT_HERSHEY_SIMPLEX
    normal size sans-serif font


    image.png

    FONT_HERSHEY_PLAIN

    Python: cv.FONT_HERSHEY_PLAIN
    small size sans-serif font


    image.png

    FONT_HERSHEY_DUPLEX

    Python: cv.FONT_HERSHEY_DUPLEX
    normal size sans-serif font (more complex than FONT_HERSHEY_SIMPLEX)


    image.png

    FONT_HERSHEY_COMPLEX
    Python: cv.FONT_HERSHEY_COMPLEX
    normal size serif font


    image.png

    FONT_HERSHEY_TRIPLEX
    Python: cv.FONT_HERSHEY_TRIPLEX
    normal size serif font (more complex than FONT_HERSHEY_COMPLEX)


    image.png

    FONT_HERSHEY_COMPLEX_SMALL

    Python: cv.FONT_HERSHEY_COMPLEX_SMALL

    smaller version of FONT_HERSHEY_COMPLEX


    image.png

    FONT_HERSHEY_SCRIPT_SIMPLEX

    Python: cv.FONT_HERSHEY_SCRIPT_SIMPLEX

    hand-writing style font


    image.png

    FONT_HERSHEY_SCRIPT_COMPLEX

    Python: cv.FONT_HERSHEY_SCRIPT_COMPLEX

    more complex variant of FONT_HERSHEY_SCRIPT_SIMPLEX


    image.png

    FONT_ITALIC

    Python: cv.FONT_ITALIC

    flag for italic font


    image.png

    字体大小,数值越大,字体越大

    字体粗细,越大越粗,数值表示描绘的线条占有的直径像素个数

    Python:

    img =cv.putText(img, text, org, fontFace,fontScale,color[, thickness[, lineType[, bottomLeftOrigin]]])

    相关文章

      网友评论

          本文标题:2020-08-17 python cv2的字体

          本文链接:https://www.haomeiwen.com/subject/wllfjktx.html