Python-opencv 實現圖片的鏡像翻轉

mport cv2 import numpy as np img = cv2.imread('Test.jpg',1) imgInformation = img.shape #提取圖片的信息 height = imgInformation[0] #圖片的高度 width = imgInformation[1] #圖片的寬度 deep = imgInformation[2] #圖片的特徵
相關文章
相關標籤/搜索