              image = face["image"]
              landmarks = face["landmarks"][0]
  
              detected_face = DetectedFace()
              detected_face.from_bounding_box(bounding_box, image)
              detected_face.landmarksXY = landmarks
              detected_face.load_aligned(image, size=224)
              face["face"] = detected_face.aligned_face
              del face["image"]
              logger.debug("Loaded aligned face: ('%s', shape: %s)",
 
</s> remove             detected_face.from_bounding_box(face, image)
 </s> add             detected_face.from_bounding_box_dict(face, image) </s> remove             detected_face.from_bounding_box(face)
 </s> add             detected_face.from_bounding_box_dict(face) </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     elif isinstance(face, dict):
 </s> add     # Alignments Dict
    elif isinstance(face, dict) and "x" in face: </s> remove         d = self.model.predict(feed_item)
        return [d[-1].reshape((68, 64, 64))]
 </s> add         pred = self.model.predict(feed_item)
        return [pred[-1].reshape((68, 64, 64))]
            detected_face.from_bounding_box_dict(bounding_box, image)

              image = face["image"]
              landmarks = face["landmarks"][0]
  
              detected_face = DetectedFace()
            detected_face.from_bounding_box_dict(bounding_box, image)
              detected_face.landmarksXY = landmarks
              detected_face.load_aligned(image, size=224)
              face["face"] = detected_face.aligned_face
              del face["image"]
              logger.debug("Loaded aligned face: ('%s', shape: %s)",
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Extract - Remove BoundingBox object and replace with dict 
lib/face_filter.py