import cv2 xx=[] for i in range(10): x=cv2.imread('dog'+str(i)+'.jpg') y=cv2.resize(x,(600, 800)) cv2.imshow('dog', y) cv2.waitKey(500) xx.append(y) cv2.destroyAllWindows() k=-1 while k==-1: for x in xx: cv2.imshow('dog2', x) k=cv2.waitKey(500) cv2.destroyAllWindows()
沒有留言:
張貼留言
HTML 編輯器