code: def _adjust_bbox(
      self,
      xmin,
      ymin,
      xmax,
      ymax,
      old_width,
      old_height,
      new_width,
      new_height,
  ):
      # TODO: consider reusing luminoth.utils.image.adjust_bboxes instead of
      # this, but note it uses tensorflow, and using tf and np here may
      # introduce too many problems.
      xmin = (xmin / old_width) * new_width
      ymin = (ymin / old_height) * new_height
      xmax = (xmax / old_width) * new_width
      ymax = (ymax / old_height) * new_height
  
      return xmin, ymin, xmax, ymax
  
file_path: luminoth/luminoth/tools/dataset/readers/object_detection/imagenet.py
imports: import json
  import os
  import six
  import tensorflow
  from PIL import Image
  from luminoth.tools.dataset.readers import InvalidDataDirectory
  from luminoth.tools.dataset.readers.object_detection import ObjectDetectionReader
  from luminoth.utils.dataset import read_xml, read_image
label_desc: Use image node_id 10 for calling the ImageNetReader obj's underlying member method code with example usage: obj._adjust_bbox(xmin, ymin, xmax, ymax, old_width, old_height, new_width, new_height) and returns: xmin,  ymin,  xmax,  ymax