  
          for idx, face in enumerate(faces["detected_faces"]):
              if self.export_face:
                  save_queue.put((filename,
                                  output_file,
                                  face.aligned_face,
                                  idx))
  
              final_faces.append(face.to_alignment())
          self.alignments.data[os.path.basename(filename)] = final_faces
  
 
</s> remove         for idx, face in enumerate(faces["detected_faces"]):
 </s> add         for idx, detected_face in enumerate(faces["detected_faces"]): </s> remove             final_faces.append(face.to_alignment())
 </s> add             final_faces.append(detected_face["face"].to_alignment()) </s> remove         output_file = faces["output_file"]
 </s> add  </s> remove         save_queue = queue_manager.get_queue("save")
 </s> add  </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)
                                detected_face["file_location"],
                                detected_face["face"].aligned_face,
  
          for idx, face in enumerate(faces["detected_faces"]):
              if self.export_face:
                  save_queue.put((filename,
                                detected_face["file_location"],
                                detected_face["face"].aligned_face,
                                detected_face["file_location"],
                                detected_face["face"].aligned_face,
                                  idx))
  
              final_faces.append(face.to_alignment())
          self.alignments.data[os.path.basename(filename)] = final_faces
  
keep keep keep keep replace 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/extract.py