Slide 130
Slide 130 text
130
●
在圖上疊字
cv2.putText(img, TEXT, (x,y), font, scale,
color)
●
範例 :
cv2.putText(image, “HELLO”, (50, 50),
cv2.FONT_HERSHEY_SIMPLEX, 1, (255,255,255))
OpenCV 還提供了許多好用的函式
http://docs.opencv.org/2.4/modules/core/doc/drawing_functions.html
BGR