class_docstr: 🤗 Constructor for the object detection trainer
code: def rescale_bboxes(self, out_bbox, size):
      img_w, img_h = size
      b = self.box_cxcywh_to_xyxy(out_bbox)
      b = b * torch.tensor(
          [img_w, img_h, img_w, img_h], dtype=torch.float32
      )
      return b
  
file_path: HugsVision/hugsvision/inference/ObjectDetectionInference.py
imports: import os
  from datetime import datetime
  import torch
  from transformers import DetrFeatureExtractor, DetrForObjectDetection, pipeline
  from PIL import Image
  import matplotlib
  import matplotlib.pyplot
label_desc: Use image node_id 3 for calling the ObjectDetectionInference obj's underlying member method code with example usage: obj.rescale_bboxes(out_bbox, size) and returns: b