Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

resize image array python

import cv2
#img is your image as array

#size of the new image
height = 500
width = 500

img_resized = cv2.resize(img, (width, height))
 
PREVIOUS NEXT
Tagged: #resize #image #array #python
ADD COMMENT
Topic
Name
5+5 =