              int(face.bottom() / self.scale))
                      for face in faces]
          return detected
  
      @staticmethod
      def recalculate_bounding_box(faces, landmarks):
          """ Recalculate the bounding box for Face Alignment.
 
</s> remove         detected = [dlib.rectangle(int(face.left() / self.scale),
                                   int(face.top() / self.scale),
                                   int(face.right() / self.scale),
                                   int(face.bottom() / self.scale))
 </s> add         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)) </s> remove     @staticmethod
    def align_face(faces, align_eyes, size, padding=48):
        """ Align the detected face """
 </s> add     def align_face(self, faces, align_eyes, size, filename, padding=48):
        """ Align the detected face and add the destination file path """
        logger.trace("Processed Output: %s", detected)
              int(face.bottom() / self.scale))
                      for face in faces]
        logger.trace("Processed Output: %s", detected)
          return detected
  
      @staticmethod
      def recalculate_bounding_box(faces, landmarks):
          """ Recalculate the bounding box for Face Alignment.
keep add 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/detect/mtcnn.py