      def _load_detect(detector, rotation, min_size, configfile):
          """ Set global arguments and load detector plugin """
          detector_name = detector.replace("-", "_").lower()
          logger.debug("Loading Detector: '%s'", detector_name)
          detector = PluginLoader.get_detector(detector_name)(rotation=rotation,
                                                              min_size=min_size,
                                                              configfile=configfile)
 
</s> remove     def _load_mask(masker, configfile):
 </s> add     def _load_mask(masker, image_is_aligned, configfile): </s> remove         masker = PluginLoader.get_masker(masker_name)(configfile=configfile)
 </s> add         masker = PluginLoader.get_masker(masker_name)(image_is_aligned=image_is_aligned,
                                                      configfile=configfile)
        if detector is None or detector.lower() == "none":
            logger.debug("No detector selected. Returning None")
            return None
      def _load_detect(detector, rotation, min_size, configfile):
          """ Set global arguments and load detector plugin """
        if detector is None or detector.lower() == "none":
            logger.debug("No detector selected. Returning None")
            return None
          detector_name = detector.replace("-", "_").lower()
          logger.debug("Loading Detector: '%s'", detector_name)
          detector = PluginLoader.get_detector(detector_name)(rotation=rotation,
                                                              min_size=min_size,
                                                              configfile=configfile)
keep add keep keep keep keep keep
 Extract - Mask updates

- Remove none mask plugin
- Make pipeline more flexible
- Add support for pre-aligned faces to masker plugin
- Migrate blur and threshold settings to mask output 
plugins/extract/pipeline.py