Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

cv2 add text

import cv2
im = cv2.imread(path + 'pillar.png', 1)
font = cv2.FONT_HERSHEY_SIMPLEX
cv2.putText(im, 'Christmas', (10,450), font, 3, (0, 255, 0), 2, cv2.LINE_AA)
cv2.imwrite(path + 'pillar_text.jpg', im)
Comment

adding text cv2

cv2.putText (image, "text",coordinates)
Comment

PREVIOUS NEXT
Code Example
Python :: python start simplehttpserver 
Python :: upgrade python version mc 
Python :: use nltk to remove stop words 
Python :: plotly not showing in jupyter 
Python :: how to get number of cores in python 
Python :: find time of run for python code 
Python :: pandas version check in python 
Python :: python if main 
Python :: download pip install 
Python :: get stats from list python 
Python :: copy text to clipboard python 
Python :: make tkinter btn disable 
Python :: change tkinter window name 
Python :: tkinter label border 
Python :: use incognito mode in selenium webdriver 
Python :: create dictionary python from two lists 
Python :: how to export a string as txt file in python 
Python :: install python-dev packages 
Python :: unable to locate package python-pip 
Python :: color to black and white cv2 
Python :: set axis limits matplotlib 
Python :: export data csv 
Python :: how to program 
Python :: python regex replace all non alphanumeric characters 
Python :: python typing as int or float 
Python :: pandas drop all columns except certain ones 
Python :: check numpy version 
Python :: create a relu function in python 
Python :: python string argument without an encoding 
Python :: how to check datatype of column in dataframe python 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =