result2 = cv2.cvtColor(np.asarray(image_framed), cv2.COLOR_RGB2BGR)
import cv2
from PIL import Image
import numpy as np
image = Image.open("car.jpg")
# image.show()
img = cv2.cvtColor(np.asarray(image),cv2.COLOR_RGB2BGR)
# cv2.imshow("image",img)
# cv2.waitKey()
参考:
https://blog.csdn.net/AugustMe/article/details/120742661
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)