          code sample + contribs """
  
      def extract(self, image, face, size, align_eyes):
          """ Extract a face from an image """
          alignment = get_align_mat(face, size, align_eyes)
          extracted = self.transform(image, alignment, size, 48)
          logger.trace("Returning face and alignment matrix: (alignment_matrix: %s)", alignment)
          return extracted, alignment
 
</s> remove     mat_umeyama = umeyama(np.array(face.landmarks_as_xy()[17:]),
 </s> add     logger.trace("size: %s, should_align_eyes: %s", size, should_align_eyes)
    mat_umeyama = umeyama(np.array(face.landmarks_as_xy[17:]),

        logger.trace("size: %s. align_eyes: %s", size, align_eyes)

          code sample + contribs """
  
      def extract(self, image, face, size, align_eyes):
          """ Extract a face from an image """
        logger.trace("size: %s. align_eyes: %s", size, align_eyes)
          alignment = get_align_mat(face, size, align_eyes)
          extracted = self.transform(image, alignment, size, 48)
          logger.trace("Returning face and alignment matrix: (alignment_matrix: %s)", alignment)
          return extracted, alignment
keep 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 
lib/aligner.py