      def process(self, output_item):
          """ Detect and move blurry face """
          extractor = AlignerExtract()
  
          for face in output_item["detected_faces"]:
              aligned_landmarks = face.aligned_landmarks
              resized_face = face.aligned_face
              size = face.aligned["size"]
              feature_mask = extractor.get_feature_mask(
                  aligned_landmarks / size,
 
</s> remove         for face in output_item["detected_faces"]:
 </s> add         for idx, detected_face in enumerate(output_item["detected_faces"]):
            face = detected_face["face"]
            logger.trace("Drawing Landmarks. Frame: '%s'. Face: %s",
                         detected_face["file_location"].parts[-1], idx) </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 """ </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

        for idx, detected_face in enumerate(output_item["detected_faces"]):
            frame_name = detected_face["file_location"].parts[-1]
            face = detected_face["face"]
            logger.trace("Checking for blurriness. Frame: '%s', Face: %s", frame_name, idx)
      def process(self, output_item):
          """ Detect and move blurry face """
          extractor = AlignerExtract()
  
        for idx, detected_face in enumerate(output_item["detected_faces"]):
            frame_name = detected_face["file_location"].parts[-1]
            face = detected_face["face"]
            logger.trace("Checking for blurriness. Frame: '%s', Face: %s", frame_name, idx)
              aligned_landmarks = face.aligned_landmarks
              resized_face = face.aligned_face
              size = face.aligned["size"]
              feature_mask = extractor.get_feature_mask(
                  aligned_landmarks / size,
keep keep keep keep replace 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 
scripts/fsmedia.py