Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What's server url locators ..... response = url? Try this:

import cv2 as cv
import numpy as np

img = np.zeros((256,256,3),np.uint8)
response= 'opencv.org'

cv.putText(img, response,(0, 50),
               cv.FONT_HERSHEY_SIMPLEX,
               3,(0, 0, 255),
               lineType=cv.LINE_AA)

cv.imshow('frame', img)
cv.waitKey(0)