          https://studios.disneyresearch.com/2020/06/29/high-resolution-neural-face-swapping-for-visual-effects/
  
          Parameters
          ----------
          batch: dict
              Contains the batch that is currently being passed through the plugin process
  
          Returns
          -------
          dict
 
</s> remove         dict
 </s> add         :class:`AlignerBatch` </s> remove         batch : dict
 </s> add         batch : :class:`AlignerBatch` </s> remove             subbatch = {key: val
                        for key, val in batch.items()
                        if key not in ["feed", "prediction"] + self._additional_keys}
            subbatch["prediction"] = batch["prediction"][idx]
            for key in self._additional_keys:
                subbatch[key] = batch[key][idx]
 </s> add             # Create a pseudo object that only populates the data, feed and prediction slots with
            # the current re-feed iteration
            subbatch = AlignerBatch(image=batch.image,
                                    detected_faces=batch.detected_faces,
                                    filename=batch.filename,
                                    feed=[batch.feed[idx]],
                                    prediction=batch.prediction[idx],
                                    data=[batch.data[idx]]) </s> remove     def _collect_item(self, queue):
        """ Collect the item from the :attr:`_rollover` dict or from the queue
            Add face count per frame to self._faces_per_filename for joining
            batches back up in finalize """
 </s> add     def _collect_item(self, queue: "Queue") -> Union[Literal["EOF"], ExtractMedia]:
        """ Collect the item from the :attr:`_rollover` dict or from the queue. Add face count per
        frame to self._faces_per_filename for joining batches back up in finalize

        Parameters
        ----------
        queue: :class:`queue.Queue`
            The input queue to the aligner. Should contain
            :class:`~plugins.extract.pipeline.ExtractMedia` objects

        Returns
        -------
        :class:`~plugins.extract.pipeline.ExtractMedia` or EOF
            The next extract media object, or EOF if pipe has ended
        """
        batch: :class:`AlignerBatch`
          https://studios.disneyresearch.com/2020/06/29/high-resolution-neural-face-swapping-for-visual-effects/
  
          Parameters
          ----------
        batch: :class:`AlignerBatch`
              Contains the batch that is currently being passed through the plugin process
  
          Returns
          -------
          dict
keep keep keep keep replace keep keep keep keep keep
 Extract updates:
  - Default CPU detector to MTCNN
  - add basic Aligner false positive filters
  - Typing: align + plugins
  - Use specific AlignerBatch class for alignment
  - 
plugins/extract/align/_base.py