                           output.filename, output.image_shape, len(output.detected_faces))
              yield output
  
      # <<< PROTECTED ACCESS METHODS >>> #
      @staticmethod
      def _resize(image, target_size):
          """ resize input and output of mask models appropriately """
          height, width, channels = image.shape
          image_size = max(height, width)
          scale = target_size / image_size
          if scale == 1.:
 
</s> remove         return self._image.shape
 </s> add         return self._image_shape </s> remove         return self._image.shape[:2]
 </s> add         return self._image_shape[:2] </s> remove                 offset -= self.pose.offset["head"]
                offset *= (self._head_size - (self._head_size * _EXTRACT_RATIOS["head"]))
 </s> add                 adjusted = offset - self.pose.offset["head"]
                adjusted *= (self._head_size - (self._head_size * _EXTRACT_RATIOS["head"]))
    @classmethod
    def _resize(cls, image, target_size):
                           output.filename, output.image_shape, len(output.detected_faces))
              yield output
  
      # <<< PROTECTED ACCESS METHODS >>> #
    @classmethod
    def _resize(cls, image, target_size):
    @classmethod
    def _resize(cls, image, target_size):
          """ resize input and output of mask models appropriately """
          height, width, channels = image.shape
          image_size = max(height, width)
          scale = target_size / image_size
          if scale == 1.:
keep keep keep keep replace replace keep keep keep keep keep
 extract: mask - Delete any mask from outside of frame boundaries 
plugins/extract/mask/_base.py