          """ Compile found faces for output """
          if isinstance(rotation_matrix, np.ndarray):
              faces = [self.rotate_rect(face, rotation_matrix)
                       for face in faces]
          detected = [dlib.rectangle(int(face.left() / self.scale),
                                     int(face.top() / self.scale),
                                     int(face.right() / self.scale),
                                     int(face.bottom() / self.scale))
                      for face in faces]
          return detected
 
</s> remove             self.align_face(faces, align_eyes, size)
 </s> add             self.align_face(faces, align_eyes, size, filename)
        detected = [dlib.rectangle(  # pylint: disable=c-extension-no-member
            int(face.left() / self.scale), int(face.top() / self.scale),
            int(face.right() / self.scale), int(face.bottom() / self.scale))
          """ Compile found faces for output """
          if isinstance(rotation_matrix, np.ndarray):
              faces = [self.rotate_rect(face, rotation_matrix)
                       for face in faces]
        detected = [dlib.rectangle(  # pylint: disable=c-extension-no-member
            int(face.left() / self.scale), int(face.top() / self.scale),
            int(face.right() / self.scale), int(face.bottom() / self.scale))
        detected = [dlib.rectangle(  # pylint: disable=c-extension-no-member
            int(face.left() / self.scale), int(face.top() / self.scale),
            int(face.right() / self.scale), int(face.bottom() / self.scale))
        detected = [dlib.rectangle(  # pylint: disable=c-extension-no-member
            int(face.left() / self.scale), int(face.top() / self.scale),
            int(face.right() / self.scale), int(face.bottom() / self.scale))
        detected = [dlib.rectangle(  # pylint: disable=c-extension-no-member
            int(face.left() / self.scale), int(face.top() / self.scale),
            int(face.right() / self.scale), int(face.bottom() / self.scale))
                      for face in faces]
          return detected
keep keep keep keep replace replace replace replace 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/detect/dlib_hog.py