              for each face in a given frame with it's alignments"""
          logger.trace("Getting faces for frame: '%s'", frame)
          self.current_frame = None
          alignments = self.alignments.get_faces_in_frame(frame)
          if not alignments:
              self.faces = list()
              return
          image = self.frames.load_image(frame)
          self.faces = [self.extract_one_face(alignment, image.copy())
                        for alignment in alignments]
 
</s> remove     @staticmethod
    def get_faces(arguments):
 </s> add     def get_faces(self, arguments): </s> remove             map_faces = self.map_face_names(alignments,
                                            sorted_alignments,
                                            frame)
            self.rename_faces(map_faces)
 </s> add             logger.trace("Sorting alignments for frame: '%s'", frame)
        logger.trace("Alignments for frame: (frame: '%s', alignments: %s)", frame, alignments)
              for each face in a given frame with it's alignments"""
          logger.trace("Getting faces for frame: '%s'", frame)
          self.current_frame = None
          alignments = self.alignments.get_faces_in_frame(frame)
        logger.trace("Alignments for frame: (frame: '%s', alignments: %s)", frame, alignments)
          if not alignments:
              self.faces = list()
              return
          image = self.frames.load_image(frame)
          self.faces = [self.extract_one_face(alignment, image.copy())
                        for alignment in alignments]
keep keep keep add keep 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 
tools/lib_alignments/media.py