      def __init__(self, arguments):
          self.args = arguments
  
          self.images = Images(self.args)
          self.faces = Faces(self.args)
          self.alignments = Alignments(self.args)
  
          self.output_dir = self.faces.output_dir
  
          self.export_face = True
          self.save_interval = None
 
</s> remove         self.output_dir = self.faces.output_dir
 </s> add         self.post_process = PostProcess(arguments) </s> remove 
 </s> add         self.output_dir = get_folder(self.args.output_dir)
        print("Output Directory: {}".format(self.args.output_dir)) </s> remove         self.faces = Faces(self.args)
        self.alignments = Alignments(self.args)
 </s> add         self.alignments = Alignments(self.args, False)

        # Legacy rotation conversion
        Rotate(self.alignments, self.args.verbose, self.images.input_images)

        self.post_process = PostProcess(arguments)
        self.verify_output = False
        self.alignments = Alignments(self.args, True)
        self.plugins = Plugins(self.args)
      def __init__(self, arguments):
          self.args = arguments
  
          self.images = Images(self.args)
        self.alignments = Alignments(self.args, True)
        self.plugins = Plugins(self.args)
        self.alignments = Alignments(self.args, True)
        self.plugins = Plugins(self.args)
  
          self.output_dir = self.faces.output_dir
  
          self.export_face = True
          self.save_interval = None
keep keep keep keep replace replace keep keep keep keep keep
 Extraction - Speed improvements (#522) (#523)

* Extraction - Speed improvements (#522)

* Initial Plugin restructure

* Detectors to plugins. Detector speed improvements

* Re-implement dlib aligner, remove models, FAN to TF. Parallel processing

* Update manual, update convert, implement parallel/serial switching

* linting + fix cuda check (setup.py). requirements update keras 2.2.4

* Add extract size option. Fix dlib hog init

* GUI: Increase tooltip width

* Update alignment tool to support new DetectedFace

* Add skip existing faces option

* Fix sort tool to new plugin structure

* remove old align plugin

* fix convert -skip faces bug

* Fix convert skipping no faces frames

* Convert - draw onto transparent layer

* Fix blur threshold bug

* fix skip_faces convert bug

* Fix training 
scripts/extract.py