x, y = img_.shape[0:2]
img_ = cv2.resize(img_, (int(y/2), int(x/2)))

  实现图像长宽缩小为原来的一半

05-11 09:42