      def display_frames(self):
          """ Iterate through frames """
          # pylint: disable=no-member
          logger.debug("Display frames")
          is_windows = True if platform.system() == "Windows" else False
          is_conda = True if "conda" in sys.version.lower() else False
          logger.debug("is_windows: %s, is_conda: %s", is_windows, is_conda)
          cv2.namedWindow("Frame")
          cv2.namedWindow("Faces")
          cv2.setMouseCallback('Frame', self.mouse_handler.on_event)
  
 
</s> remove         faces = [dlib.rectangle(  # pylint: disable=c-extension-no-member
            int(face[0]), int(face[1]), int(face[2]), int(face[3]))
                 for face in faces]
 </s> add         faces = [BoundingBox(face[0], face[1], face[2], face[3]) for face in faces] </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         faces = [dlib.rectangle(  # pylint: disable=c-extension-no-member
            int(face[0]), int(face[1]), int(face[2]), int(face[3]))
                 for face in faces]
 </s> add         faces = [BoundingBox(face[0], face[1], face[2], face[3]) for face in faces] </s> remove         faces = [dlib.rectangle(  # pylint: disable=c-extension-no-member
            int(face[0]), int(face[1]), int(face[2]), int(face[3])) for face in faces]
 </s> add         faces = [BoundingBox(face[0], face[1], face[2], face[3]) for face in faces] </s> remove         """ Return the given bounding box in a dlib rectangle """
 </s> add         """ Return the given bounding box in a BoundingBox """
        is_windows = platform.system() == "Windows"
        is_conda = "conda" in sys.version.lower()
      def display_frames(self):
          """ Iterate through frames """
          # pylint: disable=no-member
          logger.debug("Display frames")
        is_windows = platform.system() == "Windows"
        is_conda = "conda" in sys.version.lower()
        is_windows = platform.system() == "Windows"
        is_conda = "conda" in sys.version.lower()
          logger.debug("is_windows: %s, is_conda: %s", is_windows, is_conda)
          cv2.namedWindow("Frame")
          cv2.namedWindow("Faces")
          cv2.setMouseCallback('Frame', self.mouse_handler.on_event)
  
keep keep keep keep replace replace keep keep keep keep keep
 Remove dlib.rectangles. Replace with BoundingBox class 
tools/lib_alignments/jobs_manual.py