import cv2
import matplotlib.pyplot as plt
image=plt.imread('timg.jpg')
res=cv2.resize(image,(224,224),interpolation=cv2.INTER_CUBIC)
plt.imshow(res)
import cv2
import matplotlib.pyplot as plt
image=plt.imread('timg.jpg')
res=cv2.resize(image,(224,224),interpolation=cv2.INTER_CUBIC)
plt.imshow(res)