  
          Parameters
          ----------
          detected_faces: dict
              Dictionary of detected_faces with the filename as its key and a list of
              :class:`lib.faces_detect.DetectedFace` as the values for pairing with reloaded images.
          """
          logger.debug("Reload Images: Start. Detected Faces Count: %s", len(detected_faces))
          load_queue = self._extractor.input_queue
          for filename, image in self._images.load():
              if load_queue.shutdown.is_set():
 
</s> remove             item = {"filename": filename,
                    "image": image[..., :3]}
 </s> add             item = ExtractMedia(filename, image[..., :3]) </s> remove         dict
            A ``dict`` for each frame containing the ``image``, ``filename`` and list of
            :class:`lib.faces_detect.DetectedFace` objects.

 </s> add         :class:`~plugins.extract.pipeline.ExtractMedia`
            The :attr:`DetectedFaces` list will be populated for this class with the bounding boxes
            and landmarks for the detected faces found in the frame. </s> remove         dict
            A ``dict`` for each frame containing the ``image``, ``filename`` and list of
            :class:`lib.faces_detect.DetectedFace` objects.

 </s> add         :class:`~plugins.extract.pipeline.ExtractMedia`
            The :attr:`DetectedFaces` list will be populated for this class with the bounding
            boxes, landmarks and masks for the detected faces found in the frame. </s> remove         >>> for face in extractor.detected_faces():
        >>>     filename = face["filename"]
        >>>     image = face["image"]
        >>>     detected_faces = face["detected_faces"]
 </s> add         >>> for extract_media in extractor.detected_faces():
        >>>     filename = extract_media.filename
        >>>     image = extract_media.image
        >>>     detected_faces = extract_media.detected_faces </s> remove         faces: dict
            The output dictionary from :class:`plugins.extract.Pipeline.Extractor`
 </s> add         extract_media: :class:`~plugins.extract.pipeline.ExtractMedia`
            The output from :class:`~plugins.extract.Pipeline.Extractor`
            Dictionary of :class:`plugins.extract.pipeline.ExtractMedia` with the filename as the
            key for repopulating the image attribute.
  
          Parameters
          ----------
          detected_faces: dict
            Dictionary of :class:`plugins.extract.pipeline.ExtractMedia` with the filename as the
            key for repopulating the image attribute.
            Dictionary of :class:`plugins.extract.pipeline.ExtractMedia` with the filename as the
            key for repopulating the image attribute.
          """
          logger.debug("Reload Images: Start. Detected Faces Count: %s", len(detected_faces))
          load_queue = self._extractor.input_queue
          for filename, image in self._images.load():
              if load_queue.shutdown.is_set():
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 
scripts/extract.py