code: def _get_predicted_classes_per_image_object_detection(
      predictions: List[np.ndarray],
  ) -> List[List[int]]:
      """Return a list containing the classes in batch."""
      return [
          bboxes_per_image.reshape((-1, 6))[:, -1].tolist()
          for bboxes_per_image in predictions
      ]
  
file_path: deepchecks/deepchecks/vision/utils/label_prediction_properties.py
imports: from typing import List, Sequence, Union
  import numpy
label_desc: Use image node_id 9 for calling a global function with example usage: _get_predicted_classes_per_image_object_detection(predictions) and returns: unknown