python中cv2的基本操作——视频、图片的读写
'''总结cv2相关内容'''import cv2import numpy as np'''读图片'''image_path = '/data/weichai/0817_choice_frame/8.4_sortheast/1.jpg'image = cv2.imread(image_path) # image是一个矩阵。shape: (hight, weight, channel)'''保存图片'''output_path = '/home/liulihao/test/