code: def glob_imgs(path):
      imgs = []
      for ext in ["*.png", "*.jpg", "*.JPEG", "*.JPG"]:
          imgs.extend(glob(os.path.join(path, ext)))
      return imgs
  
file_path: insightface/reconstruction/PBIDR/code/utils/general.py
imports: import os
  from glob import glob
  import torch
label_desc: Use image node_id 3 for calling a global function with example usage: glob_imgs(path) and returns: imgs