code: def get_bboxes(self):
      # get inference images
      images = get_test_images(
          self.FLAGS.infer_dir, self.FLAGS.infer_img
      )
  
      # inference
      result = self.trainer.predict(
          images,
          draw_threshold=self.FLAGS.draw_threshold,
          output_dir=self.FLAGS.output_dir,
          save_results=self.FLAGS.save_results,
          visualize=False,
      )[0]
      return result
  
file_path: PaddleDetection/ppdet/utils/cam_utils.py
imports: import numpy
  import cv2
  import os
  import sys
  import glob
  from ppdet.utils.logger import setup_logger
  import copy
  import paddle
  from ppdet.engine import Trainer
label_desc: Use image node_id 4 for calling the BBoxCAM obj's underlying member method code with example usage: obj.get_bboxes() and returns: result