          self.detector_name = detector
          self.detector = None
  
          self.initialize(mtcnn_kwargs, dlib_buffer)
  
          if not initialize_only:
              self.execute(input_image_bgr, input_is_predetected_face)
 
</s> remove         self.frame = Frame(detector=detector,
                           input_image=input_image_bgr,
                           verbose=verbose,
                           input_is_predetected_face=input_is_predetected_face)

        self.detect_faces(input_is_predetected_face)
        self.bounding_boxes = self.get_bounding_boxes()
 </s> add         if not initialize_only:
            self.execute(input_image_bgr, input_is_predetected_face) </s> remove         self.initialize(detector, mtcnn_kwargs, dlib_buffer)
 </s> add         self.initialize(mtcnn_kwargs, dlib_buffer) </s> remove         if detector == "mtcnn":
 </s> add         if self.detector_name == "mtcnn":
        self.frame = None
        self.bounding_boxes = None
        self.landmarks = None
          self.detector_name = detector
          self.detector = None
        self.frame = None
        self.bounding_boxes = None
        self.landmarks = None
  
          self.initialize(mtcnn_kwargs, dlib_buffer)
  
          if not initialize_only:
              self.execute(input_image_bgr, input_is_predetected_face)
keep add keep keep keep keep keep
 Alignments Tool - Manual (#503)

* Initial alignment tool implementation

* Add face processing. Fix helptext formatting for cli and gui

* Extract faces from alignments file

* Add draw landmarks

* fix analysis hours past 24 bug

* Remove tools flag. Enlarge GUI tooltips

* Add filename extension check for image folders

* Fix folder nonetype bug and linting

* Bugfix renaming of faces

* Import alignments from DeepFaceLab

* Remove frames requirement for dfl

* Alignments Tool: Add remove frames

* Alignments: Add remove frames (#492)

* Alignments Tool: Add remove frames

* Implement Frame display for manual extract

* Alignments refactor

* Further navigation improvements

* Further navigation improvements

* Alignment Tool: Refactor

* Move rotate_image_by_angle() to utils

* Further refactoring improvements

* Reduce key bindings. Add skip to has faces, Add resize frame binding

* More navigation options. Delete faces added. Save alignments added

* Add: Reload alignments. Add extra api calls. Better redraw handling.

* Manual Alignments - Alpha Build

* Rotate landmarks for rotated images

* Rebase to remove OriginalHiRes changes 
lib/face_alignment/extractor.py