Answers for "set destination of image in cv2.imwrite"

0

set destination of image in cv2.imwrite

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 May-06-2021

Browse Popular Code Answers by Language