Answers for "cv2.imwrite save to folder"

0

cv2.imwrite save to folder

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)
Posted by: Guest on April-06-2020

Python Answers by Framework

Browse Popular Code Answers by Language