  logger = logging.getLogger(__name__)  # pylint:disable=invalid-name
  
  
  class Extractor():
      """ Creates a :mod:`~plugins.extract.detect`/:mod:`~plugins.extract.align` pipeline and yields
      results frame by frame from the :attr:`detected_faces` generator
  
      :attr:`input_queue` is dynamically set depending on the current :attr:`phase` of extraction
  
      Parameters
      ----------
 
</s> remove         The input queue is the entry point into the extraction pipeline. A ``dict`` should
        be put to the queue in the following format(s):

        For detect/single phase operations:

        >>> {'filename': <path to the source image that is to be extracted from>,
        >>>  'image': <the source image as a numpy.ndarray in BGR color format>}

        For align (2nd pass operations):
 </s> add         The input queue is the entry point into the extraction pipeline. An :class:`ExtractMedia`
        object should be put to the queue. </s> remove     All ``_base`` classes for Aligners and Detectors inherit from this class.
 </s> add     All ``_base`` classes for Aligners, Detectors and Maskers inherit from this class. </s> remove     def process(self, output_item):
 </s> add     def process(self, extract_media): </s> remove         :class:`lib.image.ImagesSaver` save queue and add the face information to the alignments
 </s> add         :class:`~lib.image.ImagesSaver` save queue and add the face information to the alignments </s> remove class Detector(Extractor):
 </s> add class Detector(Extractor):  # pylint:disable=abstract-method
    """ Creates a :mod:`~plugins.extract.detect`/:mod:`~plugins.extract.align``/\
    :mod:`~plugins.extract.mask` pipeline and yields results frame by frame from the
    :attr:`detected_faces` generator
  logger = logging.getLogger(__name__)  # pylint:disable=invalid-name
  
  
  class Extractor():
    """ Creates a :mod:`~plugins.extract.detect`/:mod:`~plugins.extract.align``/\
    :mod:`~plugins.extract.mask` pipeline and yields results frame by frame from the
    :attr:`detected_faces` generator
    """ Creates a :mod:`~plugins.extract.detect`/:mod:`~plugins.extract.align``/\
    :mod:`~plugins.extract.mask` pipeline and yields results frame by frame from the
    :attr:`detected_faces` generator
  
      :attr:`input_queue` is dynamically set depending on the current :attr:`phase` of extraction
  
      Parameters
      ----------
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/pipeline.py