  import logging
  import os
  import traceback
  from io import StringIO
  from math import sqrt
  
  import cv2
  import dlib
  
  from lib.gpu_stats import GPUStats
 
</s> remove from lib.faces_detect import DetectedFace
 </s> add  </s> remove         logger_init = kwargs["log_init"]
        log_queue = kwargs["log_queue"]
        logger_init(self.loglevel, log_queue)
 </s> add  </s> remove         logger_init = kwargs["log_init"]
        log_queue = kwargs["log_queue"]
        logger_init(self.loglevel, log_queue)
 </s> add 
  import logging
  import os
  import traceback
  from io import StringIO

  
  import cv2
  import dlib
  
  from lib.gpu_stats import GPUStats
keep keep keep keep replace keep keep keep keep keep
 Move mp logging functions to multithreading module 
plugins/extract/detect/_base.py