  
      def get_center_scale(self, detected_face):
          """ Get the center and set scale of bounding box """
          logger.trace("Calculating center and scale")
          center = np.array([(detected_face.left + detected_face.right) / 2.0,
                             (detected_face.top + detected_face.bottom) / 2.0])
  
          center[1] -= detected_face.height * 0.12
  
          scale = (detected_face.width + detected_face.height) / self.reference_scale
  
 
</s> remove         center = np.array([(detected_face.left + detected_face.right) / 2.0,
                           (detected_face.top + detected_face.bottom) / 2.0])
 </s> add         center = np.array([(detected_face["left"] + detected_face["right"]) / 2.0,
                           (detected_face["top"] + detected_face["bottom"]) / 2.0]) </s> remove         center[1] -= detected_face.height * 0.12
 </s> add         height = detected_face["bottom"] - detected_face["top"]
        width = detected_face["right"] - detected_face["left"] </s> remove         center[1] -= detected_face.height * 0.12
 </s> add         height = detected_face["bottom"] - detected_face["top"]
        width = detected_face["right"] - detected_face["left"] </s> remove         scale = (detected_face.width + detected_face.height) / self.reference_scale
 </s> add         center[1] -= height * 0.12

        scale = (width + height) / self.reference_scale </s> remove         scale = (detected_face.width + detected_face.height) / self.reference_scale
 </s> add         center[1] -= height * 0.12

        scale = (width + height) / self.reference_scale
        center = np.array([(detected_face["left"] + detected_face["right"]) / 2.0,
                           (detected_face["top"] + detected_face["bottom"]) / 2.0])
  
      def get_center_scale(self, detected_face):
          """ Get the center and set scale of bounding box """
          logger.trace("Calculating center and scale")
        center = np.array([(detected_face["left"] + detected_face["right"]) / 2.0,
                           (detected_face["top"] + detected_face["bottom"]) / 2.0])
        center = np.array([(detected_face["left"] + detected_face["right"]) / 2.0,
                           (detected_face["top"] + detected_face["bottom"]) / 2.0])
  
          center[1] -= detected_face.height * 0.12
  
          scale = (detected_face.width + detected_face.height) / self.reference_scale
  
keep keep keep keep replace replace keep keep keep keep keep
 Bugfix: Extract - Remove BoundingBox object and replace with dict 
plugins/extract/align/fan.py