  from io import StringIO
  
  import cv2
  
  from lib.gpu_stats import GPUStats
  from lib.utils import rotate_landmarks, GetModel
  from plugins.extract._config import Config
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
 
</s> remove import dlib
 </s> add  </s> remove from lib.faces_detect import DetectedFace
 </s> add from lib.faces_detect import BoundingBox, DetectedFace </s> remove from dlib import rectangle as d_rectangle  # pylint: disable=no-name-in-module
 </s> add  </s> remove from ._base import Detector, dlib, logger
 </s> add from ._base import BoundingBox, Detector, logger </s> remove import dlib
 </s> add 
from lib.faces_detect import BoundingBox
  from io import StringIO
  
  import cv2
  
from lib.faces_detect import BoundingBox
  from lib.gpu_stats import GPUStats
  from lib.utils import rotate_landmarks, GetModel
  from plugins.extract._config import Config
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
keep keep keep add keep keep keep keep keep
 Remove dlib.rectangles. Replace with BoundingBox class 
plugins/extract/detect/_base.py