      def get_batch(self, queue):
          """ **Override method** (at `<plugin_type>` level)
  
          This method should be overridden at the `<plugin_type>` level (IE.
          :mod:`plugins.extract.detect._base` or :mod:`plugins.extract.align._base`) and should not
          be overridden within plugins themselves.
  
          Get items from the queue in batches of :attr:`batchsize`
  
          Parameters
          ----------
 
</s> remove         :mod:`plugins.extract.detect._base` or :mod:`plugins.extract.align._base`) and should not
        be overridden within plugins themselves.
 </s> add         :mod:`plugins.extract.detect._base`, :mod:`plugins.extract.align._base` or
        :mod:`plugins.extract.mask._base`) and should not be overridden within plugins themselves. </s> remove         Get items from the queue in batches of :attr:`batchsize`
 </s> add         Get :class:`~plugins.extract.pipeline.ExtractMedia` items from the queue in batches of
        :attr:`batchsize` </s> remove         It strips unneeded items from the :attr:`batch` ``dict`` and performs standard final
        processing on each item

        Outputs items in the format:

        >>> {'image': [<original frame>],
        >>>  'filename': [<frame filename>),
        >>>  'detected_faces': [<lib.faces_detect.DetectedFace objects>]}


 </s> add  </s> remove         self._rollover = []  # Items that are rolled over from the previous batch in get_batch
 </s> add         self._rollover = None  # Items that are rolled over from the previous batch in get_batch </s> remove         It strips unneeded items from the :attr:`batch` ``dict`` and pairs the detected faces back
        up with their original frame before yielding each frame.

        Outputs items in the format:

        >>> {'image': [<original frame>],
        >>>  'filename': [<frame filename>),
        >>>  'detected_faces': [<lib.faces_detect.DetectedFace objects>]}
 </s> add         Pairs the detected faces back up with their original frame before yielding each frame.
        :mod:`plugins.extract.detect._base`, :mod:`plugins.extract.align._base` or
        :mod:`plugins.extract.mask._base`) and should not be overridden within plugins themselves.
      def get_batch(self, queue):
          """ **Override method** (at `<plugin_type>` level)
  
          This method should be overridden at the `<plugin_type>` level (IE.
        :mod:`plugins.extract.detect._base`, :mod:`plugins.extract.align._base` or
        :mod:`plugins.extract.mask._base`) and should not be overridden within plugins themselves.
        :mod:`plugins.extract.detect._base`, :mod:`plugins.extract.align._base` or
        :mod:`plugins.extract.mask._base`) and should not be overridden within plugins themselves.
  
          Get items from the queue in batches of :attr:`batchsize`
  
          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/_base.py