opencv write images to new folder python code example
Example: cv2.imwrite path
import cv2
image = cv2.imread('test_img.jpg')
path ='D:/save_image.jpg'
cv2.imwrite(path,image)
import cv2
image = cv2.imread('test_img.jpg')
path ='D:/save_image.jpg'
cv2.imwrite(path,image)