  from io import StringIO
  
  import cv2
  
  from lib.faces_detect import BoundingBox
  from lib.gpu_stats import GPUStats
  from lib.utils import deprecation_warning, rotate_landmarks, GetModel
  from plugins.extract._config import Config
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
 
</s> remove from ._base import BoundingBox, Detector, logger
 </s> add from ._base import Detector, logger </s> remove from lib.faces_detect import BoundingBox, DetectedFace
 </s> add from lib.faces_detect import DetectedFace </s> remove from ._base import BoundingBox, Detector, logger
 </s> add from ._base import Detector, logger </s> remove from ._base import BoundingBox, cv2, Detector, logger
 </s> add from ._base import cv2, Detector, logger </s> remove from ._base import BoundingBox, Detector, logger
 </s> add from ._base import Detector, logger
  from io import StringIO
  
  import cv2
  

  from lib.gpu_stats import GPUStats
  from lib.utils import deprecation_warning, rotate_landmarks, GetModel
  from plugins.extract._config import Config
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Extract - Remove BoundingBox object and replace with dict 
plugins/extract/detect/_base.py