title: What's the function of “keep_aspect_ratio_resizer {” in the config file of Tensorflow Object Detection API?
body: <p>I use the Tensorflow Object Detection API to create an AI for Faster-RCNN.
  <a href="https://github.com/tensorflow/models.git" rel="nofollow noreferrer">GitHub:Tensorflow/models</a></p>
  <p>What kind of resizing function does &quot;keep_aspect_ratio_resizer {&quot; in the config file have?</p>
  <p>I prepared images of 1920 x 1080 pixels and set &quot;min dimension:&quot; and &quot;max dimension:&quot; described immediately after &quot;keep_aspect_ratio_resizer {&quot; in the config file to 768 respectively.</p>
  <p>In this case, the 1920x1080 pixel image would be resized to 768x768 pixels and input to the CNN. At this time, will the original ratio of the image (16: 9) be maintained? Namely, when the image is resized to 768x768 pixels, will the long sides of the image be converted to 768 pixels and black bars will be added in the margin of the image?</p>
  <p>Or does the image ratio change from 16: 9 to 1: 1 and become contort when this setting?</p>
  <p>If anyone knows about this, please let me know.</p>
  <p>Thank you!</p>