docstr: Recursively visualize a dict and
  indenting acrrording by the relationship of keys.
docstr_tok: ["Recursively","visualize","a","dict","and","indenting","acrrording","by","the","relationship","of","keys","."]
code: def print_cfg(self, print_func=print):
      """
      Recursively visualize a dict and
      indenting acrrording by the relationship of keys.
      """
      print_func("----------- Config -----------")
      print_dict(self.cfg, print_func)
      print_func("---------------------------------------------")
  
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 4 for calling the Config obj's underlying member method code with example usage: obj.print_cfg(print_func) without return types