      filename: str
          The image file to update
      alignments: :class:`lib.align.alignments.Alignments`
          The alignments data the contains the information to store in the image header. This must be
          a v2.0 or less alignments file as later versions no longer store the face hash (unrequired)
  
      Returns
      -------
      dict
          The metadata that has been applied to the given image
 
</s> remove         a safe manner (i.e. handle for non-numerics)
 </s> add         a safe manner (i.e. handle for non-numeric) </s> remove         for (frame_idx, face_idx), det_faces in zip(
 </s> add         for (frame_idx, face_idx), det_face in zip( </s> remove         if view_mode == self._current_view_mode:
 </s> add         if view_mode == self._current_view_mode and (
                self._canvas.active_editor.zoomed_centering == self._zoomed_centering):
        a v2.0 or less alignments file as later versions no longer store the face hash (not
        required)
      filename: str
          The image file to update
      alignments: :class:`lib.align.alignments.Alignments`
          The alignments data the contains the information to store in the image header. This must be
        a v2.0 or less alignments file as later versions no longer store the face hash (not
        required)
  
      Returns
      -------
      dict
          The metadata that has been applied to the given image
keep keep keep keep replace keep keep keep keep keep
 Manual Tool - Update to support masks with different centering 
lib/align/detected_face.py