  
      def crop(self, image, center, scale, resolution=256.0):  # pylint: disable=too-many-locals
          """ Crop image around the center point """
          v_ul = self.transform([1, 1], center, scale, resolution).astype(np.int)
          v_br = self.transform([resolution, resolution],
                                center,
                                scale,
 
</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         return np.matmul(eye, pnt)[0:2]
 </s> add         retval = np.matmul(eye, pnt)[0:2]
        logger.trace("Transformed Points: %s", retval)
        return retval </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
        logger.trace("Cropping image")
  
      def crop(self, image, center, scale, resolution=256.0):  # pylint: disable=too-many-locals
          """ Crop image around the center point """
        logger.trace("Cropping image")
          v_ul = self.transform([1, 1], center, scale, resolution).astype(np.int)
          v_br = self.transform([resolution, resolution],
                                center,
                                scale,
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