          logger.trace("items_output: %s", items_output)
          if self.output == "move" and self.is_video and self.type == "frames":
              logger.warning("Move was selected with an input video. This is not possible so "
                             "falling back to console output")
              self.output = "console"
          if not items_output:
              logger.info("No %s were found meeting the criteria", self.type)
              return
          if self.output == "move":
              self.move_file(items_output)
 
</s> remove         if self.output == "move" and self.is_video and self.type == "frames":
 </s> add         if self._output == "move" and self._is_video and self._type == "frames": </s> remove             logger.info("No %s were found meeting the criteria", self.type)
 </s> add             logger.info("No %s were found meeting the criteria", self._type) </s> remove     def get_leftover_faces(self):
        """yield each face that isn't in the alignments file."""
        self.output_message = "Faces missing from the alignments file"
        for face in tqdm(self.items, desc=self.output_message):
            f_hash = face["face_hash"]
            if f_hash not in self._alignments.hashes_to_frame:
                logger.debug("Returning: '%s'", face["face_fullname"])
                yield face["face_fullname"], -1

    def output_results(self, items_output):
 </s> add     def _output_results(self, items_output): </s> remove         if self.output == "move":
            self.move_file(items_output)
 </s> add         if self._output == "move":
            self._move_file(items_output) </s> remove         if self.job == "missing-frames" and self.output == "move":
 </s> add         if self._job == "missing-frames" and self._output == "move":
            self._output = "console"
          logger.trace("items_output: %s", items_output)
          if self.output == "move" and self.is_video and self.type == "frames":
              logger.warning("Move was selected with an input video. This is not possible so "
                             "falling back to console output")
            self._output = "console"
          if not items_output:
              logger.info("No %s were found meeting the criteria", self.type)
              return
          if self.output == "move":
              self.move_file(items_output)
keep keep keep keep replace keep keep keep keep keep
 Update extracted faces to use PNG EXIF data (#1123)

Documentation
  - Update Usage.md, align.rst and image.rst
lib.image.py
  - read_image - Remove hash return, add metadata return
  - Remove read_image_hash functions
  - Add read_image_meta functios
  - Replace encode_image_with_hash with encode_image (to store metadata)
  - Add png meta reading and writing functions
  - Update Image Loaders/Savers to handle metadata rather than hashes
lib.training_data
  - Naming updates to remove references to hashes
lib.align.Alignments
  - Add versioning notes
  - Increment alignments version to 2.1
  - Deprecate hashing lookup functions
  - Replace filter_hashes with filter_faces
lib.align.detected_face
  - DetectedFace
    - Remove hash property
    - Add png header data serializing/deserializing functions
  - Mask
    - Add png header data serializing/deserializing functions
  - add update_legacy_png_header function to update png meta data
lib.cli.args - Deprecate alignments files for training
- plugins.train.trainer
  - Update alignments/mask code to read png header data
- scripts.convert
  - Aligned images folder - read data from png headers
- scripts.extract
  - Write png header information and no longer store hash of face
- tools.alignments
  - remove leftover-faces, merge and update-hashes jobs
  - Update jobs to use png meta data rather than hashes
- tools.manual
  - Update extract code to output png meta data and don't store hashes
  - Perform check on launch that tool is not pointing at a faces folder
tools.mask
  - Update to use png meta data
tools.sort
  - Update to use png meta data 
tools/alignments/jobs.py