You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
157 B
Python
5 lines
157 B
Python
4 years ago
|
import cv2
|
||
|
|
||
|
def resize_image(img_in, input_height, input_width):
|
||
|
return cv2.resize(img_in, (input_width, input_height), interpolation=cv2.INTER_NEAREST)
|