March 2018
Beginner to intermediate
306 pages
9h 54m
English
You will need to perform the following steps for this recipe:
import cv2, numpy as np, randomimage = cv2.imread('../data/Lena.png')w, h = image.shape[1], image.shape[0]image_to_show = np.copy(image)def rand_pt(): return (random.randrange(w), random.randrange(h))
finish = Falsewhile not finish: cv2.imshow("result", image_to_show) ...Read now
Unlock full access