code: def __init__(self, ocr, mImgList, mainThread, model):
      super(Worker, self).__init__()
      self.ocr = ocr
      self.mImgList = mImgList
      self.mainThread = mainThread
      self.model = model
      self.setStackSize(1024 * 1024)
  
imports: import time
  import datetime
  import json
  import cv2
  import numpy
  from libs.utils import newIcon
label_desc: Use image node_id 1 to create a new Worker object from inherited base classes: QThread with example: obj = Worker(ocr, mImgList, mainThread, model)