code: def __init__(self, access_key, device_index, keyword_var):
      super().__init__()
  
      self._access_key = access_key
      self._device_index = device_index
      self._keyword_var = keyword_var
  
      self._is_ready = False
      self._stop = False
      self._is_stopped = False
  
file_path: porcupine/demo/tkinter/main.py
imports: import argparse
  import tkinter
  from threading import Thread
  import pvporcupine
  from pvrecorder import PvRecorder
label_desc: Use image node_id 1 to create a new PorcupineThread object from inherited base classes: Thread with example: obj = PorcupineThread(access_key, device_index, keyword_var)