              kwargs["mtcnn_kwargs"] = mtcnn_kwargs
          else:
              kwargs["detector"] = detector
  
          self.detector.create_detector(**kwargs)
  
      def detect_faces(self, input_is_predetected_face):
          """ Detect faces """
          # Predetected_face is used for sort tool.
 
</s> remove             self.detector = DLIB_DETECTORS
 </s> add  </s> remove             self.detector = MTCNN_DETECTOR
 </s> add  </s> remove     def detect_faces(self, images):
        """ Detect faces in images """
 </s> add     def detect_faces(self, image):
        """ Detect faces in rgb image """ </s> remove     def detect_faces(self, images):
        """ Detect faces in images """
 </s> add     def detect_faces(self, image):
        """ Detect faces in rgb image """
            scale_to = int(VRAM.scale_to ** 0.5)

            if self.verbose:
                print("Initializing DLib for frame size {}x{}".format(
                    str(scale_to), str(scale_to)))

            placeholder = np.zeros((scale_to, scale_to, 3), dtype=np.uint8)
            kwargs["placeholder"] = placeholder
              kwargs["mtcnn_kwargs"] = mtcnn_kwargs
          else:
              kwargs["detector"] = detector
            scale_to = int(VRAM.scale_to ** 0.5)

            if self.verbose:
                print("Initializing DLib for frame size {}x{}".format(
                    str(scale_to), str(scale_to)))

            placeholder = np.zeros((scale_to, scale_to, 3), dtype=np.uint8)
            kwargs["placeholder"] = placeholder
  
          self.detector.create_detector(**kwargs)
  
      def detect_faces(self, input_is_predetected_face):
          """ Detect faces """
          # Predetected_face is used for sort tool.
keep keep add keep keep keep keep keep keep
 Merge staging to Master (#470)

* DLib scaling amends (#461)

* Scaling area fix and rework of frames and bounding boxes

* Update DLib scaling and initialization

* Extract - Detector reinitialization bugfix

* Slight OriginaHightRes Model re-factoring (#464)

* Model re-factoring, might fix red screen of death on multi-gpu configurations

* Limited trainer support for various INPUT_SIZE

* Auto Extraction multiprocess bugfix

* Sort tool bugfixes and linting 
lib/face_alignment/extractor.py