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 :: not equal to in django filter 
Python :: python numpy array 
Python :: generate random integers python 
Python :: enter selenium in python 
Python :: pairplot with selected field 
Python :: click a button using selenium python 
Python :: how to create dictionary in python from csv 
Python :: pip not downlaoding cryptography wheel macos 
Python :: python pandas in list 
Python :: extract all text from website using beautifulsoup and python 
Python :: trim string python 
Python :: how to install python pyautogui 
Python :: sum two columns pandas 
Python :: give columns while reading csv 
Python :: get dict values in list python 
Python :: python file to array 
Python :: convert pandas dataframe to dict with a column as key 
Python :: merge two columns pandas 
Python :: traversing a tree in python 
Python :: sort in python 
Python :: matplotlib twinx legend 
Python :: all select first value in column list pandas 
Python :: creating an entry widget for input in tkinter 
Python :: python get array from json 
Python :: letters to numbers python 
Python :: pyqt remove widget 
Python :: get basename without extension python 
Python :: pandas if else 
Python :: tqdm in place 
Python :: concatenate list of strings python 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =