  
      def detect_faces(self, images):
          """ Detect faces in images """
          self.detected_faces = None
          for current_detector, current_image in(
                  (current_detector, current_image)
                  for current_detector in self.detectors
                  for current_image in images):
              self.detected_faces = current_detector(current_image, 0)
  
              if self.detected_faces:
                  break
  
  
 
</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         for current_image in images:
            detected_faces = detect_face(current_image, **self.kwargs)
            self.detected_faces = [dlib.rectangle(int(face[0]), int(face[1]),
                                                  int(face[2]), int(face[3]))
                                   for face in detected_faces]
            if self.detected_faces:
                break
 </s> add         detected_faces = detect_face(image, **self.kwargs)
        self.detected_faces = [dlib.rectangle(int(face[0]), int(face[1]),
                                              int(face[2]), int(face[3]))
                               for face in detected_faces] </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         self.bounding_box = None
 </s> add 
        for current_detector in self.detectors:
            self.detected_faces = current_detector(image, 0)
  
      def detect_faces(self, images):
          """ Detect faces in images """
          self.detected_faces = None
        for current_detector in self.detectors:
            self.detected_faces = current_detector(image, 0)
        for current_detector in self.detectors:
            self.detected_faces = current_detector(image, 0)
        for current_detector in self.detectors:
            self.detected_faces = current_detector(image, 0)
        for current_detector in self.detectors:
            self.detected_faces = current_detector(image, 0)
        for current_detector in self.detectors:
            self.detected_faces = current_detector(image, 0)
  
              if self.detected_faces:
                  break
  
  
keep keep keep keep replace replace replace replace replace 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/detectors.py