code: def cameraList_from_camInfos(cam_infos, resolution_scale, args):
      camera_list = []
  
      for id, c in enumerate(cam_infos):
          camera_list.append(loadCam(args, id, c, resolution_scale))
  
      return camera_list
  
imports: from scene.cameras import Camera
  import numpy
  from utils.general_utils import PILtoTorch
  from utils.graphics_utils import fov2focal
label_desc: Use image node_id 2 for calling a global function with example usage: cameraList_from_camInfos(cam_infos, resolution_scale, args) and returns: camera_list