          """ Finalize the output from Masker
  
          This should be called as the final task of each `plugin`.
  
          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>]}
  
          Parameters
          ----------
          batch : dict
              The final ``dict`` from the `plugin` process. It must contain the `keys`:
 
</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. </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             The final ``dict`` from the `plugin` process. It must contain the keys ``image``,
            ``filename``, ``faces``
 </s> add             The final ``dict`` from the `plugin` process. It must contain the keys  ``filename``,
            ``faces`` </s> remove             ``detected_faces``, ``filename``, ``image``
 </s> add             ``detected_faces``, ``filename`` </s> remove             ``detected_faces``, ``landmarks``, ``filename``, ``image``
 </s> add             ``detected_faces``, ``landmarks``, ``filename``
        Pairs the detected faces back up with their original frame before yielding each frame.
          """ Finalize the output from Masker
  
          This should be called as the final task of each `plugin`.
  
        Pairs the detected faces back up with their original frame before yielding each frame.
        Pairs the detected faces back up with their original frame before yielding each frame.
        Pairs the detected faces back up with their original frame before yielding each frame.
        Pairs the detected faces back up with their original frame before yielding each frame.
        Pairs the detected faces back up with their original frame before yielding each frame.
        Pairs the detected faces back up with their original frame before yielding each frame.
        Pairs the detected faces back up with their original frame before yielding each frame.
        Pairs the detected faces back up with their original frame before yielding each frame.
  
          Parameters
          ----------
          batch : dict
              The final ``dict`` from the `plugin` process. It must contain the `keys`:
keep keep keep keep replace replace replace replace replace replace replace replace keep keep keep keep keep
 plugins.extract - Create ExtractMedia class for pipeline flow
Bugfix - Fix memory leak in extract 
plugins/extract/mask/_base.py