                      break
                  filename = faces["filename"]
  
                  if self.extractor.final_pass:
                      self.output_processing(faces, align_eyes, size, filename)
                      self.output_faces(filename, faces)
                      if self.save_interval and (idx + 1) % self.save_interval == 0:
                          self.alignments.save()
                  else:
                      del faces["image"]
 
</s> remove         self.align_face(faces, align_eyes, size, filename)
 </s> add         self.align_face(faces, size, filename) </s> remove             for idx, faces in enumerate(tqdm(self.extractor.detected_faces(),
                                             total=to_process,
                                             file=sys.stdout,
                                             desc="Running pass {} of {}: {}".format(
                                                 phase + 1,
                                                 self.extractor.passes,
                                                 self.extractor.phase.title()))):
 </s> add             desc = "Running pass {} of {}: {}".format(phase + 1,
                                                      self.extractor.passes,
                                                      self.extractor.phase.title())
            status_bar = tqdm(self.extractor.detected_faces(),
                              total=to_process,
                              file=sys.stdout,
                              desc=desc)
            for idx, faces in enumerate(status_bar): </s> remove             logger.verbose("No faces were detected in image: %s",
                           os.path.basename(filename))
 </s> add             logger.verbose("No faces were detected in image: %s", os.path.basename(filename)) </s> remove     def align_face(self, faces, align_eyes, size, filename):
 </s> add     def align_face(self, faces, size, filename):
                    self.output_processing(faces, size, filename)
                      break
                  filename = faces["filename"]
  
                  if self.extractor.final_pass:
                    self.output_processing(faces, size, filename)
                      self.output_faces(filename, faces)
                      if self.save_interval and (idx + 1) % self.save_interval == 0:
                          self.alignments.save()
                  else:
                      del faces["image"]
keep keep keep keep replace keep keep keep keep keep
 Align eyes deprecation (#851)

* align eyes removal

* add align_eyes tool 
scripts/extract.py