              if item == "EOF":
                  break
              face = item["face"]
  
              bounding_box = [dlib.rectangle(  # pylint: disable=c-extension-no-member
                  int(face[0]), int(face[1]), int(face[2]), int(face[3]))]
              item["detected_faces"] = bounding_box
              self.finalize(item)
  
          self.queues["out"].put("EOF")
 
</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         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 """ </s> remove         detected = [dlib.rectangle(  # pylint: disable=c-extension-no-member
            int(face.left() / scale), int(face.top() / scale),
            int(face.right() / scale), int(face.bottom() / scale))
 </s> add         detected = [BoundingBox(face.left / scale, face.top / scale,
                                face.right / scale, face.bottom / scale)
            bounding_box = [BoundingBox(face[0], face[1], face[2], face[3])]
              if item == "EOF":
                  break
              face = item["face"]
  
            bounding_box = [BoundingBox(face[0], face[1], face[2], face[3])]
            bounding_box = [BoundingBox(face[0], face[1], face[2], face[3])]
              item["detected_faces"] = bounding_box
              self.finalize(item)
  
          self.queues["out"].put("EOF")
keep keep keep keep replace replace keep keep keep keep
 Remove dlib.rectangles. Replace with BoundingBox class 
plugins/extract/detect/manual.py