opencv绘制简单图片opencv绘制简单图片
opencv绘制简单图片 import cv2 as cvimport numpy as np# img = np.zeros((图片高度, 图片宽度, 三维矩阵), np.uint8)img = np.zeros((512, 512, 3), np.uint8)"""img类型为<class 'numpy.ndarray'>"""for x