          image = self.crop(
              image,
              center,
              scale).transpose((2, 0, 1)).astype(np.float32) / 255.0
  
          return np.expand_dims(image, 0)
  
      def predict_landmarks(self, image, center, scale):
          """ Predict the 68 point landmarks """
          prediction = self.model.predict(image)[-1]
 
</s> remove 
        return [(int(pt[0]), int(pt[1])) for pt in pts_img]
 </s> add         retval = [(int(pt[0]), int(pt[1])) for pt in pts_img]
        logger.trace("Predicted Landmarks: %s", retval)
        return retval </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
        logger.trace("Aligned image around center")
          image = self.crop(
              image,
              center,
              scale).transpose((2, 0, 1)).astype(np.float32) / 255.0
        logger.trace("Aligned image around center")
          return np.expand_dims(image, 0)
  
      def predict_landmarks(self, image, center, scale):
          """ Predict the 68 point landmarks """
          prediction = self.model.predict(image)[-1]
keep keep keep keep replace 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