先看代码#用多种常用的读取图片的操作import cv2import torchfrom PIL import Imageimport matplotlib.image as imgpltimport numpy as npimport matplotlib.pyplot as plta = cv2.imread('C:/Users/14461/data2/hymenoptera_data/train/ants/0013035.jpg') # 以BGR的顺序读进来,是np数组b =
python
2023-12-03
58 点赞
0 评论
87 浏览