Downsizing images in object detection?

Hi,

Is there a way to downsize images in object detection ? It implies changing size and position of rectangles also. My gpu is not good enough for this code Vidhya made:

Any idea ?
Cheers,

© Copyright 2013-2019 Analytics Vidhya