Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

cv2.imwrite

# importing cv2 
import cv2
# Image path
image_path = "PATH2IMAGE"
# Using cv2.imread() method to read the image
img = cv2.imread(image_path) 
# New Filename
filename = 'savedImage.jpg'
# Using cv2.imwrite() method Saving the image
cv2.imwrite(filename, img)
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
6+8 =