                   + detected_face.bottom()
                   - detected_face.top()) / self.reference_scale
  
          return center, scale
  
      def align_image(self, image, center, scale):
          """ Crop and align image around center """
 
</s> remove     def crop(self, image, center, scale, resolution=256.0):
 </s> add     def crop(self, image, center, scale, resolution=256.0):  # pylint: disable=too-many-locals </s> remove 
 </s> add         logger.trace("Aligned image around center") </s> remove         return np.matmul(eye, pnt)[0:2]
 </s> add         retval = np.matmul(eye, pnt)[0:2]
        logger.trace("Transformed Points: %s", retval)
        return retval
        logger.trace("Calculated center and scale: %s, %s", center, scale)
                   + detected_face.bottom()
                   - detected_face.top()) / self.reference_scale
  
        logger.trace("Calculated center and scale: %s, %s", center, scale)
          return center, scale
  
      def align_image(self, image, center, scale):
          """ Crop and align image around center """
keep keep add 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