  
      def process_faces(self, filename, faces, save_queue):
          """ Perform processing on found faces """
          final_faces = list()
          filename = faces["filename"]
  
          for idx, detected_face in enumerate(faces["detected_faces"]):
              if self.export_face:
                  save_queue.put((filename,
                                  detected_face["file_location"],
                                  detected_face["face"].aligned_face,
 
</s> remove     def process_faces(self, filename, faces, save_queue):
        """ Perform processing on found faces """
 </s> add     def output_faces(self, filename, faces, save_queue):
        """ Output faces to save thread """ </s> remove             if self.export_face:
                save_queue.put((filename,
                                detected_face["file_location"],
                                detected_face["face"].aligned_face,
                                idx))
 </s> add             output_file = detected_face["file_location"]
            extension = Path(filename).suffix
            out_filename = "{}_{}{}".format(str(output_file), str(idx), extension)

            face = detected_face["face"]
            resized_face = face.aligned_face </s> remove             final_faces.append(detected_face["face"].to_alignment())
 </s> add             face.hash, img = hash_encode_image(resized_face, extension)
            save_queue.put((out_filename, img))
            final_faces.append(face.to_alignment()) </s> remove     def convert_one_face(self, converter, imagevars):
 </s> add     def convert_one_face(self, converter, image, face): </s> remove         filename, image, idx, face = imagevars

        if self.opts.check_skipface(filename, idx):
            return image

 </s> add 
  
      def process_faces(self, filename, faces, save_queue):
          """ Perform processing on found faces """
          final_faces = list()


          for idx, detected_face in enumerate(faces["detected_faces"]):
              if self.export_face:
                  save_queue.put((filename,
                                  detected_face["file_location"],
                                  detected_face["face"].aligned_face,
keep keep keep keep replace replace keep keep keep keep keep
 Add Face Hashes to Alignments (#550)

* Convert main scripts to use face hashes

* Alignment tool: Use hashes, add logging, add face rename function

* More logging. Update Manual tool to work with hashing 
scripts/extract.py