          return int(vram["card_id"]), int(vram["free"]), int(vram["total"])
  
      @staticmethod
      def set_predetected(width, height):
          """ Set a dlib rectangle for predetected faces """
          # Predetected_face is used for sort tool.
          # Landmarks should not be extracted again from predetected faces,
          # because face data is lost, resulting in a large variance
          # against extract from original image
          logger.debug("Setting predetected face")
 
</s> remove         return [dlib.rectangle(0, 0, width, height)]  # pylint: disable=c-extension-no-member
 </s> add         return [BoundingBox(0, 0, width, height)] </s> remove     def from_dlib_rect(self, d_rect, image=None):
        """ Set Bounding Box from a Dlib Rectangle """
        logger.trace("Creating from dlib_rectangle: %s", d_rect)
        if not isinstance(d_rect, d_rectangle):
            raise ValueError("Supplied Bounding Box is not a dlib.rectangle.")
        self.x = d_rect.left()
        self.w = d_rect.right() - d_rect.left()
        self.y = d_rect.top()
        self.h = d_rect.bottom() - d_rect.top()
 </s> add     def from_bounding_box(self, bounding_box, image=None):
        """ Set Bounding Box from a BoundingBox """
        logger.trace("Creating from BoundingBox: %s", bounding_box)
        if not isinstance(bounding_box, BoundingBox):
            raise ValueError("Supplied Bounding Box is not a BoundingBox.")
        self.x = bounding_box.left
        self.w = bounding_box.width
        self.y = bounding_box.top
        self.h = bounding_box.height </s> remove             logger.error("Error initializing FAN. Trying Dlib")
 </s> add             logger.error("Error initializing FAN. Trying CV2-DNN") </s> remove             Must return a list of dlib rects"""
 </s> add             Must return a list of BoundingBox's""" </s> remove         face = face.to_dlib_rect()
 </s> add         face = face.to_bounding_box()
        """ Set a BoundingBox for predetected faces """
          return int(vram["card_id"]), int(vram["free"]), int(vram["total"])
  
      @staticmethod
      def set_predetected(width, height):
        """ Set a BoundingBox for predetected faces """
          # Predetected_face is used for sort tool.
          # Landmarks should not be extracted again from predetected faces,
          # because face data is lost, resulting in a large variance
          # against extract from original image
          logger.debug("Setting predetected face")
keep keep keep keep replace keep keep keep keep keep
 Remove dlib.rectangles. Replace with BoundingBox class 
plugins/extract/detect/_base.py