  
      def process(self):
          """ Run extraction """
          logger.info("[EXTRACT FACES]")  # Tidy up cli output
          self.check_folder()
          self.export_faces()
  
      def check_folder(self):
          """ Check that the faces folder doesn't pre-exist
              and create """
          err = None
 
</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         """ Run extraction """
 </s> add         """ Run the re-extraction from Alignments file process""" </s> remove         if not self.faces_dir:
 </s> add         if not self._faces_dir: </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         logger.verbose("Creating output folder at '%s'", self.faces_dir)
 </s> add         logger.verbose("Creating output folder at '%s'", self._faces_dir)
        self._check_folder()
        self._export_faces()
  
      def process(self):
          """ Run extraction """
          logger.info("[EXTRACT FACES]")  # Tidy up cli output
        self._check_folder()
        self._export_faces()
        self._check_folder()
        self._export_faces()
  
      def check_folder(self):
          """ Check that the faces folder doesn't pre-exist
              and create """
          err = None
keep keep keep keep replace replace keep keep keep keep keep
 lib.alignments: improve re-extraction speed by 500% 
tools/lib_alignments/jobs.py