cvtColor()轉換像素格式,此外 OpenCV 的資料是 array()格式,而 Pillow 使用的是 Image 格式,因此必須以 Image.fromarray()作轉換。程式碼:opencvtopillow.py .
確定! 回上一頁