  from plugins.plugin_loader import PluginLoader
  
  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
 
</s> remove     def __init__(self, git_model_id=None, model_filename=None, configfile=None):
        logger.debug("Initializing %s: (git_model_id: %s, model_filename: %s, "
                     " configfile: %s)", self.__class__.__name__, git_model_id,
                     model_filename, configfile)
 </s> add     def __init__(self, git_model_id=None, model_filename=None, configfile=None, instance=0):
        logger.debug("Initializing %s: (git_model_id: %s, model_filename: %s, instance: %s, "
                     "configfile: %s, )", self.__class__.__name__, git_model_id, model_filename,
                     instance, configfile) </s> remove         qname = "extract_{}_in".format(self._current_phase[0])
 </s> add         qname = "extract{}_{}_in".format(self._instance, self._current_phase[0]) </s> remove                 name="{}_{}".format(self._plugin_type, q_name),
 </s> add                 name="{}{}_{}".format(self._plugin_type, self._instance, q_name), </s> remove                  image_is_aligned=False):
 </s> add                  instance=0, image_is_aligned=False):
_INSTANCES = -1  # Tracking for multiple instances of pipeline


def _get_instance():
    """ Increment the global :attr:`_INSTANCES` and obtain the current instance value """
    global _INSTANCES  # pylint:disable=global-statement
    _INSTANCES += 1
    return _INSTANCES
  from plugins.plugin_loader import PluginLoader
  
  logger = logging.getLogger(__name__)  # pylint:disable=invalid-name
_INSTANCES = -1  # Tracking for multiple instances of pipeline


def _get_instance():
    """ Increment the global :attr:`_INSTANCES` and obtain the current instance value """
    global _INSTANCES  # pylint:disable=global-statement
    _INSTANCES += 1
    return _INSTANCES
  
  
  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
keep keep add keep keep keep keep keep keep
 Extract - Allow multiple pipelines to be loaded 
plugins/extract/pipeline.py