                       "affine_matrix: %s, frame_dims: %s, interpolator: %s", mask.shape, mask.dtype,
                       mask.min(), mask.max(), affine_matrix, frame_dims, interpolator)
          self._affine_matrix = self._adjust_affine_matrix(mask.shape[0], affine_matrix)
          self._frame_dims = frame_dims
          self._intepolator = interpolator
          mask = (cv2.resize(mask,
                             (self.stored_size, self.stored_size),
                             interpolation=cv2.INTER_AREA) * 255.0).astype("uint8")
          self._mask = compress(mask)
  
 
</s> remove                               flags=cv2.WARP_INVERSE_MAP | self._intepolator,
 </s> add                               flags=cv2.WARP_INVERSE_MAP | self._interpolator, </s> remove         self._intepolator = None
 </s> add         self._interpolator = None </s> remove         self.phase = "detect"
 </s> add         self._flow = ["detect", "align", "mask"]
        self.phase = self._flow[0] </s> remove             self.image = image
 </s> add 
        self._interpolator = interpolator
                       "affine_matrix: %s, frame_dims: %s, interpolator: %s", mask.shape, mask.dtype,
                       mask.min(), mask.max(), affine_matrix, frame_dims, interpolator)
          self._affine_matrix = self._adjust_affine_matrix(mask.shape[0], affine_matrix)
          self._frame_dims = frame_dims
        self._interpolator = interpolator
          mask = (cv2.resize(mask,
                             (self.stored_size, self.stored_size),
                             interpolation=cv2.INTER_AREA) * 255.0).astype("uint8")
          self._mask = compress(mask)
  
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