python報錯「TypeError: slice indices must be integers or None or have an __index__ method」

源代碼web import cv2 import random img = cv2.imread("lena.jpg") width, height, depth = img.shape img_width_box = width * 0.2 img_height_box = height * 0.2 for _ in range(9): start_pointX = random.un
相關文章
相關標籤/搜索