Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

resize numpy array image

import cv2
import numpy as np

img = cv2.imread('your_image.jpg')
res = cv2.resize(img, dsize=(54, 140), interpolation=cv2.INTER_CUBIC)
 
PREVIOUS NEXT
Tagged: #resize #numpy #array #image
ADD COMMENT
Topic
Name
1+3 =