Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

cv2 put font on center

# get coords based on boundary
textX = (img.shape[1] - textsize[0]) / 2
textY = (img.shape[0] + textsize[1]) / 2
Source by gist.github.com #
 
PREVIOUS NEXT
Tagged: #put #font #center
ADD COMMENT
Topic
Name
7+3 =