          self.x = alignment["x"]
          self.w = alignment["w"]
          self.y = alignment["y"]
          self.h = alignment["h"]
          self.landmarks_xy = alignment["landmarks_xy"]
          # Manual tool does not know the final hash so default to None
          self.hash = alignment.get("hash", None)
          # Manual tool and legacy alignments will not have a mask
          if alignment.get("mask", None) is not None:
              self.mask = dict()
 
</s> remove         self.filename = filename
 </s> add  </s> remove         self.face = None
        """ str: The hash of the face. This cannot be set until the file is saved due to image
        compression, but will be set if loading data from :func:`from_alignment` """
 </s> add  </s> remove             self.aligned["padding"] = self._padding_from_coverage(size, coverage_ratio)
 </s> add             self.aligned["padding"] = padding
        landmarks = alignment["landmarks_xy"]
        if not isinstance(landmarks, np.ndarray):
            landmarks = np.array(landmarks, dtype="int32")
        self.landmarks_xy = landmarks
          self.x = alignment["x"]
          self.w = alignment["w"]
          self.y = alignment["y"]
          self.h = alignment["h"]
        landmarks = alignment["landmarks_xy"]
        if not isinstance(landmarks, np.ndarray):
            landmarks = np.array(landmarks, dtype="int32")
        self.landmarks_xy = landmarks
          # Manual tool does not know the final hash so default to None
          self.hash = alignment.get("hash", None)
          # Manual tool and legacy alignments will not have a mask
          if alignment.get("mask", None) is not None:
              self.mask = dict()
keep keep keep keep replace keep keep keep keep keep
 Smart Mask - Extract code review

- Lint simple_tests.py
- Only reformat alignments file if it exists otherwise change filename
- Update legacy alignments to new format at all stages
- faces_detect.Mask.from_dict - logging format fix
- convert.py fix otf for new pipeline
- cli.py - Add note that masks not used. Revert convert masks
- faces_detect.py - Revert non-extract code
- Add .p and .pickle extensions for serializer
- plugins/extract revert some changes
- scripts/fsmedia - Revert code changes
- Pipeline - cleanup
- Consistant alpha channel stripping (fixes single-process)
- Store landmarks as numpy array
- Code attribution
- Normalize feed face and reference face to 0.0 - 1.0 in convert
- Lock in mask VRAM sized
- Add documentation to plugin_loader
- Update alignments tool to work with new format 
lib/faces_detect.py