Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

image size for object detection API

Is there an optimal size on which to run the object detection networks available in the object detection API? The API seems to accept images of all sizes, but it is unclear to me what type and how the image is being rescaled before feeding to the network. Could you please clarify?

Thanks!

like image 397
user3062420 Avatar asked Dec 18 '22 04:12

user3062420


1 Answers

There is a script called preprocessor_builder which is responsible for that. So whenever you feed an image to the network it has to go through this preprocessing and makes sure that the image is resized properly to match the network depending on your network configuration file.

And actual resizing is happening here.

like image 141
Sumsuddin Shojib Avatar answered Feb 27 '23 22:02

Sumsuddin Shojib