              retval = dict(filename=filename, image=image, detected_faces=self._output_faces)
  
              self._output_faces = []
              logger.trace("Yielding: (filename: '%s', image: %s, detected_faces: %s)",
                           retval["filename"], retval["image"].shape, len(retval["detected_faces"]))
              yield retval
  
      # <<< PROTECTED ACCESS METHODS >>> #
      @staticmethod
      def _resize(image, target_size):
          """ resize input and output of mask models appropriately """
 
</s> remove             logger.trace("Yielding: (filename: '%s', image: %s, detected_faces: %s)",
                         retval["filename"], retval["image"].shape, len(retval["detected_faces"]))
            yield retval
 </s> add             logger.trace("Final Output: (filename: '%s', image shape: %s, detected_faces: %s, "
                         "item: %s)",
                         output.filename, output.image_shape, output.detected_faces, output)
            yield output </s> remove             retval = dict(filename=filename, image=image, detected_faces=self._output_faces)
 </s> add  </s> remove             retval = dict(filename=filename, image=image, detected_faces=self._output_faces)
 </s> add 
                         output.filename, output.image_shape, len(output.detected_faces))
            yield output
              retval = dict(filename=filename, image=image, detected_faces=self._output_faces)
  
              self._output_faces = []
              logger.trace("Yielding: (filename: '%s', image: %s, detected_faces: %s)",
                         output.filename, output.image_shape, len(output.detected_faces))
            yield output
                         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 """
keep keep keep keep replace replace keep keep keep keep keep
 plugins.extract - Create ExtractMedia class for pipeline flow
Bugfix - Fix memory leak in extract 
plugins/extract/mask/_base.py