              if len(self._output_faces) != self._faces_per_filename[filename]:
                  continue
  
              self._output_faces = []
              logger.trace("Yielding: (filename: '%s', image: %s, detected_faces: %s)",
                           output.filename, output.image_shape, len(output.detected_faces))
              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  </s> remove                          retval["filename"], retval["image"].shape, len(retval["detected_faces"]))
            yield retval
 </s> add                          output.filename, output.image_shape, len(output.detected_faces))
            yield output </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
            output = self._extract_media.pop(filename)
            output.add_detected_faces(self._output_faces)
              if len(self._output_faces) != self._faces_per_filename[filename]:
                  continue
  
            output = self._extract_media.pop(filename)
            output.add_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
  
keep keep add keep keep keep keep keep
 plugins.extract - Create ExtractMedia class for pipeline flow
Bugfix - Fix memory leak in extract 
plugins/extract/mask/_base.py