Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #save #folder
ADD COMMENT
Topic
Name
1+4 =