from PIL import Image ... image = Image.fromarray(cv2.cvtColor(img, cv2.COLOR_BGR2RGB)) ... [Python + OpenCV] 彩色轉灰階(RGB to Gray). 第一種方式:.
確定! 回上一頁