First time here? Check out the FAQ!
answered 2018-01-15 02:55:26 -0600
Hi,
pic1 is a string. therefore do it in that way:
img = cv2.imread(pic1) img_umat = cv2.UMat(img)