class_docstr: This is a module responsible for creating 3D bounding boxes and drawing them
  client-side on pygame surface.
class_docstr_tok: ["This","is","a","module","responsible","for","creating","3D","bounding","boxes","and","drawing","them","client-side","on","pygame","surface","."]
docstr: Creates 3D bounding boxes based on carla vehicle list and camera.
docstr_tok: ["Creates","3D","bounding","boxes","based","on","carla","vehicle","list","and","camera","."]
code: def get_bounding_boxes(vehicles, camera):
      """
      Creates 3D bounding boxes based on carla vehicle list and camera.
      """
  
      bounding_boxes = [
          ClientSideBoundingBoxes.get_bounding_box(vehicle, camera)
          for vehicle in vehicles
      ]
      # filter objects behind camera
      bounding_boxes = [
          bb for bb in bounding_boxes if all(bb[:, 2] > 0)
      ]
      return bounding_boxes
  
imports: import glob
  import os
  import sys
  import carla
  import weakref
  import random
label_desc: Use image node_id 1 for calling the ClientSideBoundingBoxes obj's underlying member method code with example usage: obj.get_bounding_boxes(vehicles, camera) and returns: bounding_boxes