I would like to know if it is possible to write an emoji on an image with OpenCV.
This is what I have so far.
import cv2
import emoji
img = cv2.imread('image.png')
tick=str(emoji.emojize(':heavy_check_mark:'))
cv2.putText(img, tick,(5,5), cv2.FONT_HERSHEY_TRIPLEX , 1, (255, 255, 255),3)
cv2.imshow('result',img)
cv2.waitKey(0)
cv2.destroyAllWindows()
The above code does not work and I don't know why. Is it possible to load the tick emoji as an image (say img2) and then 'paste' it on some coordinate?
I am using python 3.7.6 on a windows.