          self.faces = dict()
          for image in self.source:
              detected_face = image["detected_faces"][0]
              src_img = image["image"]
              detected_face.load_aligned(src_img, self.size, align_eyes=False)
              matrix = detected_face.aligned["matrix"]
              self.faces.setdefault("filenames",
                                    list()).append(os.path.splitext(image["filename"])[0])
              self.faces.setdefault("matrix", list()).append(matrix)
              self.faces.setdefault("src", list()).append(AlignerExtract().transform(
 
</s> remove                 detected_face.load_aligned(None, size=self.size, align_eyes=False)
 </s> add                 detected_face.load_aligned(None, size=self.size) </s> remove         self.faces = [self.extract_one_face(alignment, image.copy())
                      for alignment in alignments]
 </s> add         self.faces = [self.extract_one_face(alignment, image.copy()) for alignment in alignments] </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         self.align_eyes = align_eyes
 </s> add         self.align_eyes_bool = align_eyes </s> remove             face.load_aligned(image, size=size, align_eyes=align_eyes)
 </s> add             face.load_aligned(image, size=size)
            detected_face.load_aligned(src_img, self.size)
          self.faces = dict()
          for image in self.source:
              detected_face = image["detected_faces"][0]
              src_img = image["image"]
            detected_face.load_aligned(src_img, self.size)
              matrix = detected_face.aligned["matrix"]
              self.faces.setdefault("filenames",
                                    list()).append(os.path.splitext(image["filename"])[0])
              self.faces.setdefault("matrix", list()).append(matrix)
              self.faces.setdefault("src", list()).append(AlignerExtract().transform(
keep keep keep keep replace keep keep keep keep keep
 Align eyes deprecation (#851)

* align eyes removal

* add align_eyes tool 
tools/preview.py