多张图片合成一张
Created At :
Count:90
Views 👀 :
import cv2 as cv import numpy as np
src = cv.imread('test.jpg')
text = "Your are so beautiful!" AddText = src.copy() cv.putText(AddText, text, (200, 100), cv.FONT_HERSHEY_COMPLEX, 2.0, (100, 200, 200), 5)
res = np.hstack([src, AddText])
cv.imshow('text', res) cv.waitKey() cv.destroyAllWindows()
|