https://blog.csdn.net/Zhou_yongzhe/article/details/80310537 import cv2 k = 0 while k != 27: for ii in range(1000):