          alignment["h"] = self.h
          alignment["landmarks_xy"] = self.landmarks_xy
          alignment["hash"] = self.hash
          logger.trace("Returning: %s", alignment)
          return alignment
  
      def from_alignment(self, alignment, image=None):
          """ Set the attributes of this class from an alignments file and optionally load the face
 
</s> remove         self.x = x
        self.w = w
        self.y = y
        self.h = h
 </s> add         self.x = x  # pylint:disable=invalid-name
        self.w = w  # pylint:disable=invalid-name
        self.y = y  # pylint:disable=invalid-name
        self.h = h  # pylint:disable=invalid-name </s> remove         masker = PluginLoader.get_masker(masker_name)(configfile=configfile,
                                                      input_size=input_size,
                                                      output_size=output_size,
                                                      coverage_ratio=coverage_ratio)
 </s> add         masker = PluginLoader.get_masker(masker_name)(configfile=configfile) </s> remove     def _load_masker(masker, configfile, input_size, output_size, coverage_ratio):
 </s> add     def _load_masker(masker, configfile):
        alignment["mask"] = self.mask
          alignment["h"] = self.h
          alignment["landmarks_xy"] = self.landmarks_xy
          alignment["hash"] = self.hash
        alignment["mask"] = self.mask
          logger.trace("Returning: %s", alignment)
          return alignment
  
      def from_alignment(self, alignment, image=None):
          """ Set the attributes of this class from an alignments file and optionally load the face
keep keep add keep keep keep keep keep
 Mask plugin cleanup

- PEP8 Fixes
- Remove config for non NN Masks
- Tidy up defaults helptext
- cli.py fix typos
- Remove unused imports and functions _base.py
- Standardize input_size param
- Enable and update documentation
- Change references from `aligner` to `masker`
- Change  input_size, output_size and coverage_ratio from kwargs to params
- Move load_aligned to batch input iterator
- Remove unnecessary self.input param
- Add softmax layer append function to KSession
- Remove references to KSession protected objects
- Standardize plugin output into finalize method
- Make masks full frame and add to lib.faces_detect
- Add masks to alignments.json (temporary zipped base64 solution) 
lib/faces_detect.py