          """ Check if any errors have occurred in the running threads and their errors """
          for thread in self._threads:
              thread.check_and_raise_error()
  
      def _output_processing(self, faces, size):
          """ Prepare faces for output
  
          Loads the aligned face, perform any processing actions and verify the output.
  
          Parameters:
 
</s> remove         faces: dict
            Dictionary output from :class:`plugins.extract.Pipeline.Extractor`
 </s> add         extract_media: :class:`plugins.extract.pipeline.ExtractMedia`
            Output from :class:`plugins.extract.pipeline.Extractor` </s> remove         # from lib.queue_manager import queue_manager
        # queue_manager.debug_monitor(3)
 </s> add         # from lib.queue_manager import queue_manager ; queue_manager.debug_monitor(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             action.process(output_item)
 </s> add             action.process(extract_media) </s> remove         faces, batch["roi"] = self.align_image(batch["detected_faces"])
 </s> add         faces, batch["roi"] = self.align_image(batch)
    def _output_processing(self, extract_media, size):
          """ Check if any errors have occurred in the running threads and their errors """
          for thread in self._threads:
              thread.check_and_raise_error()
  
    def _output_processing(self, extract_media, size):
          """ Prepare faces for output
  
          Loads the aligned face, perform any processing actions and verify the output.
  
          Parameters:
keep keep keep keep replace keep keep keep keep keep
 plugins.extract - Create ExtractMedia class for pipeline flow
Bugfix - Fix memory leak in extract 
scripts/extract.py