img.shape img.size 刺骨的言语ヽ痛彻心扉 2022-07-13 05:37 180阅读 0赞 import cv2 import numpy as np img=cv2.imread('messi5.jpg') print img.shape px=img\[100,100\] print px blue=img\[100,100,0\] print blue \#\# \[57 63 68\] \#\# 57 print img\[100,100\] img\[100,100\]=\[255,255,255\] print img\[100,100\] \#\# \[255 255 255\] print img.shape print img.size
还没有评论,来说两句吧...