code: def init(configpath):
      """
      Load config from a JSON file
      """
      try:
          with open(configpath) as f:
              config = json.load(f)
      except IOError as err:
          print(f"Cannot open configuration: {str(err)}. Exiting")
          sys.exit(1)
  
      # create a Dejavu instance
      return Dejavu(config)
  
file_path: dejavu/dejavu.py
imports: import argparse
  import json
  import sys
  from argparse import RawTextHelpFormatter
  from os.path import isdir
  from dejavu import Dejavu
  from dejavu.logic.recognizer.file_recognizer import FileRecognizer
  from dejavu.logic.recognizer.microphone_recognizer import MicrophoneRecognizer
label_desc: Use image node_id 1 for calling a global function with example usage: init(configpath) and returns: Dejavu