              center, scale = self.get_center_scale(detected_face)
              aligned_image = self.align_image(image, center, scale)
              landmarks = self.predict_landmarks(aligned_image, center, scale)
              retval.append(landmarks)
          return retval
  
      def get_center_scale(self, detected_face):
          """ Get the center and set scale of bounding box """
          logger.trace("Calculating center and scale")
 
</s>
        logger.trace("Processed landmarks: %s", retval)
              center, scale = self.get_center_scale(detected_face)
              aligned_image = self.align_image(image, center, scale)
              landmarks = self.predict_landmarks(aligned_image, center, scale)
              retval.append(landmarks)
        logger.trace("Processed landmarks: %s", retval)
          return retval
  
      def get_center_scale(self, detected_face):
          """ Get the center and set scale of bounding box """
          logger.trace("Calculating center and scale")
keep keep keep add keep keep keep keep keep
 Logging (#541)

* Convert prints to logger. Further logging improvements. Tidy  up

* Fix system verbosity. Allow SystemExit

* Fix reload extract bug

* Child Traceback handling

* Safer shutdown procedure

* Add shutdown event to queue manager

* landmarks_as_xy > property. GUI notes + linting. Aligner bugfix

* fix FaceFilter. Enable nFilter when no Filter is supplied

* Fix blurry face filter

* Continue on IO error. Better error handling

* Explicitly print stack trace tocrash log

* Windows Multiprocessing bugfix

* Add git info and conda version to crash log

* Windows/Anaconda mp bugfix

* Logging fixes for training
plugins/extract/align/fan.py