縮放圖片我們使用 cv2.resize 。 def resize_img(img): scale_percent = 50 # 要放大縮小幾% width = int(img.shape[1] * scale_percent ...
確定! 回上一頁