Answers for "cv2 put font on center"

0

cv2 put font on center

# get coords based on boundary
textX = (img.shape[1] - textsize[0]) / 2
textY = (img.shape[0] + textsize[1]) / 2
Posted by: Guest on October-19-2020

Python Answers by Framework

Browse Popular Code Answers by Language