  
          self.detect_faces(input_is_predetected_face)
          self.convert_to_dlib_rectangle()
  
          self.landmarks = Align(frame=self.frame,
                                 detected_faces=self.detector.detected_faces,
                                 keras_model=self.keras,
                                 verbose=self.verbose).landmarks
  
      def initialize(self, detector, mtcnn_kwargs):
          """ initialize Keras and Dlib """
 
</s> remove         self.convert_to_dlib_rectangle()
 </s> add         self.bounding_boxes = self.get_bounding_boxes() </s> remove     def create_detector(self, verbose, detector):
 </s> add     def create_detector(self, verbose, detector, placeholder): </s> remove         self.bounding_box = None
 </s> add  </s> remove         self.frame = frame.images[0]
        self.input_scale = frame.input_scale
 </s> add         self.image = image
        self.landmarks = Align(image=self.frame.image_rgb,
                               detected_faces=self.bounding_boxes,
  
          self.detect_faces(input_is_predetected_face)
          self.convert_to_dlib_rectangle()
  
        self.landmarks = Align(image=self.frame.image_rgb,
                               detected_faces=self.bounding_boxes,
        self.landmarks = Align(image=self.frame.image_rgb,
                               detected_faces=self.bounding_boxes,
                                 keras_model=self.keras,
                                 verbose=self.verbose).landmarks
  
      def initialize(self, detector, mtcnn_kwargs):
          """ initialize Keras and Dlib """
keep keep keep keep replace replace keep keep keep keep keep
 DLib scaling amends (#461)

* Scaling area fix and rework of frames and bounding boxes

* Update DLib scaling and initialization 
lib/face_alignment/extractor.py