              face.landmarksXY = rotated_landmarks
      elif isinstance(face, dict):
          face["x"] = int(pt_x)
          face["y"] = int(pt_y)
          face["w"] = int(pt_x1 - pt_x)
          face["h"] = int(pt_y1 - pt_y)
          face["r"] = 0
          if len(rotated) > 1:
              rotated_landmarks = [tuple(point) for point in rotated[1].tolist()]
              face["landmarksXY"] = rotated_landmarks
      else:
 
</s> remove     elif isinstance(face, dict):
 </s> add     elif isinstance(face, dict) and "x" in face: </s> remove         face.w = int(pt_x1 - pt_x)
        face.h = int(pt_y1 - pt_y)
 </s> add         face.w = int(width)
        face.h = int(height) </s> remove         rotated_landmarks = BoundingBox(pt_x, pt_y, pt_x1, pt_y1)
        face = rotated_landmarks
 </s> add         face["left"] = int(pt_x)
        face["top"] = int(pt_y)
        face["right"] = int(pt_x1)
        face["bottom"] = int(pt_y1) </s> remove     elif isinstance(face, dict):
 </s> add     # Alignments Dict
    elif isinstance(face, dict) and "x" in face:
        face["w"] = int(width)
        face["h"] = int(height)
              face.landmarksXY = rotated_landmarks
      elif isinstance(face, dict):
          face["x"] = int(pt_x)
          face["y"] = int(pt_y)
        face["w"] = int(width)
        face["h"] = int(height)
        face["w"] = int(width)
        face["h"] = int(height)
          face["r"] = 0
          if len(rotated) > 1:
              rotated_landmarks = [tuple(point) for point in rotated[1].tolist()]
              face["landmarksXY"] = rotated_landmarks
      else:
keep keep keep keep replace replace keep keep keep keep keep
 Bugfix: Extract - Remove BoundingBox object and replace with dict 
lib/utils.py