          landmarks = faces["landmarks"]
          detected_faces = faces["detected_faces"]
          for idx, face in enumerate(detected_faces):
              detected_face = DetectedFace()
              detected_face.from_bounding_box(face, image)
              detected_face.landmarksXY = landmarks[idx]
              detected_face.load_aligned(image, size=size, align_eyes=align_eyes)
              final_faces.append({"file_location": self.output_dir / Path(filename).stem,
                                  "face": detected_face})
          faces["detected_faces"] = final_faces
 
</s> remove             detected_face.from_bounding_box(face)
 </s> add             detected_face.from_bounding_box_dict(face) </s> remove             detected_face.from_bounding_box(bounding_box, image)
 </s> add             detected_face.from_bounding_box_dict(bounding_box, image)
 </s> remove     elif isinstance(face, BoundingBox):
        bounding_box = [[face.left, face.top],
                        [face.right, face.top],
                        [face.right, face.bottom],
                        [face.left, face.bottom]]
 </s> add     # Bounding Box Dict
    elif isinstance(face, dict) and "left" in face:
        bounding_box = [[face["left"], face["top"]],
                        [face["right"], face["top"]],
                        [face["right"], face["bottom"]],
                        [face["left"], face["bottom"]]] </s> remove         detected = [BoundingBox(face.left / scale, face.top / scale,
                                face.right / scale, face.bottom / scale)
 </s> add         detected = [self.to_bounding_box_dict(face["left"] / scale, face["top"] / scale,
                                              face["right"] / scale, face["bottom"] / scale) </s> remove         detected = [BoundingBox(face.left / scale, face.top / scale,
                                face.right / scale, face.bottom / scale)
 </s> add         detected = [self.to_bounding_box_dict(face["left"] / scale, face["top"] / scale,
                                              face["right"] / scale, face["bottom"] / scale)
            detected_face.from_bounding_box_dict(face, image)
          landmarks = faces["landmarks"]
          detected_faces = faces["detected_faces"]
          for idx, face in enumerate(detected_faces):
              detected_face = DetectedFace()
            detected_face.from_bounding_box_dict(face, image)
              detected_face.landmarksXY = landmarks[idx]
              detected_face.load_aligned(image, size=size, align_eyes=align_eyes)
              final_faces.append({"file_location": self.output_dir / Path(filename).stem,
                                  "face": detected_face})
          faces["detected_faces"] = final_faces
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Extract - Remove BoundingBox object and replace with dict 
scripts/extract.py