Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #destination #image
ADD COMMENT
Topic
Name
3+5 =