      """
      def __init__(self, canvas, detected_faces, control_text="", key_bindings=None):
          logger.debug("Initializing %s: (canvas: '%s', detected_faces: %s, control_text: %s)",
                       self.__class__.__name__, canvas, detected_faces, control_text)
          self._canvas = canvas
          self._globals = canvas._globals
          self._det_faces = detected_faces
  
          self._current_color = dict()
          self._actions = OrderedDict()
 
</s> remove         mask = face.mask.get(self._canvas.selected_mask, None) if get_mask else None
        mask = mask if mask is None else mask.mask.squeeze()
 </s> add         mask = self._obtain_mask(face, self._canvas.selected_mask) if get_mask else None </s> remove             mask = None if state == "hidden" else det_faces.mask.get(mask_type, None)
            mask = mask if mask is None else mask.mask.squeeze()
 </s> add             mask = None if state == "hidden" else self._obtain_mask(det_face, mask_type) </s> remove         """ numpy.ndarray: The mask at the size of :attr:`stored_size` with any requested blurring
        and threshold amount applied."""
        dims = (self.stored_size, self.stored_size, 1)
        mask = np.frombuffer(decompress(self._mask), dtype="uint8").reshape(dims)
 </s> add         """ numpy.ndarray: The mask at the size of :attr:`stored_size` with any requested blurring,
        threshold amount and centering applied."""
        mask = self.stored_mask
        self.zoomed_centering = "face"  # Override for different zoomed centering per editor
      """
      def __init__(self, canvas, detected_faces, control_text="", key_bindings=None):
          logger.debug("Initializing %s: (canvas: '%s', detected_faces: %s, control_text: %s)",
                       self.__class__.__name__, canvas, detected_faces, control_text)
        self.zoomed_centering = "face"  # Override for different zoomed centering per editor
          self._canvas = canvas
          self._globals = canvas._globals
          self._det_faces = detected_faces
  
          self._current_color = dict()
          self._actions = OrderedDict()
keep keep keep add keep keep keep keep keep keep
 Manual Tool - Update to support masks with different centering 
tools/manual/frameviewer/editor/_base.py