                             [size - 1, 0]], np.int32)
          points = points.reshape((-1, 1, 2))
          matrix = cv2.invertAffineTransform(matrix)  # pylint: disable=no-member
          return cv2.transform(points, matrix)  # pylint: disable=no-member
  
      @staticmethod
      def get_feature_mask(aligned_landmarks_68, size,
                           padding=0, dilation=30):
          """ Return the face feature mask """
 
</s> remove         scale = size - 2*padding
 </s> add         logger.trace("aligned_landmarks_68: %s, size: %s, padding: %s, dilation: %s",
                     aligned_landmarks_68, size, padding, dilation)
        scale = size - 2 * padding
 </s> remove         return np.squeeze(points)
 </s> add         retval = np.squeeze(points)
        logger.trace("Returning: %s", retval)
        return retval

        logger.trace("Returning: (points: %s, matrix: %s", points, matrix)

                             [size - 1, 0]], np.int32)
          points = points.reshape((-1, 1, 2))
          matrix = cv2.invertAffineTransform(matrix)  # pylint: disable=no-member
        logger.trace("Returning: (points: %s, matrix: %s", points, matrix)
          return cv2.transform(points, matrix)  # pylint: disable=no-member
  
      @staticmethod
      def get_feature_mask(aligned_landmarks_68, size,
                           padding=0, dilation=30):
          """ Return the face feature mask """
keep keep add keep 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 
lib/aligner.py