📜  在 cv2.imwrite 中设置图像的目标 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:13.376000             🧑  作者: Mango

代码示例1
import cv2
import os
img = cv2.imread('1.jpg', 1)
path = 'D:/OpenCV/Scripts/Images'
cv2.imwrite(os.path.join(path , 'waka.jpg'), img)
cv2.waitKey(0)