18.Text and picture drawing

Function call:cv2.putText(img, str, origin, font, size,color,thickness)

The parameters are: picture, added text, upper left corner coordinate (integer), font, font size, color, and font thickness.

Font types are as follows:

 

Code path:/home/yahboom/Dofbot/4.opencv/03_Image processing and text drawing/06Text and image drawing.ipynb