Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi,

pic1 is a string. therefore do it in that way:

 img = cv2.imread(pic1)
 img_umat = cv2.UMat(img)