import cv2 img = cv2.imread('lenna.png') crop_img = img[y:y+h, x:x+w] cv2.imshow('cropped', crop_img) cv2.waitKey(0). 9嗯...但是我如何將作物圖像保存為變量?
確定! 回上一頁