code: def show_img(imgs: np.ndarray, title="img"):
      color = len(imgs.shape) == 3 and imgs.shape[-1] == 3
      imgs = np.expand_dims(imgs, axis=0)
      for i, img in enumerate(imgs):
          plt.figure()
          plt.title("{}_{}".format(title, i))
          plt.imshow(img, cmap=None if color else "gray")
      plt.show()
  
imports: import json
  import pathlib
  import time
  import os
  import glob
  import cv2
  import yaml
  from typing import Mapping
  import matplotlib.pyplot
  import numpy
  from argparse import ArgumentParser, RawDescriptionHelpFormatter
label_desc: Use image node_id 11 for calling a global function with example usage: show_img(imgs, title) without return types