                                                align_eyes=arguments.align_eyes)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def process(self):
          """ Run extraction """
          logger.info("[EXTRACT FACES]")  # Tidy up cli output
          self.check_folder()
          self.export_faces()
  
      def check_folder(self):
 
</s> remove         self.check_folder()
        self.export_faces()
 </s> add         self._check_folder()
        self._export_faces() </s> remove         self.arguments = arguments
        self.alignments = alignments
        self.faces_dir = arguments.faces_dir
        self.frames = Frames(arguments.frames_dir)
        self.extracted_faces = ExtractedFaces(self.frames,
                                              self.alignments,
                                              size=arguments.size,
                                              align_eyes=arguments.align_eyes)
 </s> add         self._arguments = arguments
        self._alignments = alignments
        self._faces_dir = arguments.faces_dir
        self._frames = Frames(arguments.frames_dir)
        self._extracted_faces = ExtractedFaces(self._frames,
                                               self._alignments,
                                               size=arguments.size,
                                               align_eyes=arguments.align_eyes) </s> remove     def check_folder(self):
        """ Check that the faces folder doesn't pre-exist
            and create """
 </s> add     def _check_folder(self):
        """ Check that the faces folder doesn't pre-exist and create. """ </s> remove     def get_faces(self, frame):
 </s> add     def get_faces(self, frame, image=None): </s> remove                 output = os.path.join(self.faces_dir, output)
                f_hash = self.extracted_faces.save_face_with_hash(output,
                                                                  extension,
                                                                  face.aligned_face)
                self.alignments.data[frame_fullname][idx]["hash"] = f_hash
 </s> add                 output = os.path.join(self._faces_dir, output)
                f_hash = self._extracted_faces.save_face_with_hash(output,
                                                                   extension,
                                                                   face.aligned_face)
                self._alignments.data[filename][idx]["hash"] = f_hash
        """ Run the re-extraction from Alignments file process"""
                                                align_eyes=arguments.align_eyes)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def process(self):
        """ Run the re-extraction from Alignments file process"""
          logger.info("[EXTRACT FACES]")  # Tidy up cli output
          self.check_folder()
          self.export_faces()
  
      def check_folder(self):
keep keep keep keep replace keep keep keep keep keep
 lib.alignments: improve re-extraction speed by 500% 
tools/lib_alignments/jobs.py