          for idx, faces in enumerate(processed):
              if faces:
                  continue
              image = detect_images[idx]
              rot_image, rot_matrix = rotate_image_by_angle(image, angle)
              to_detect.append(rot_image)
              indexes.append(idx)
          return to_detect, indexes, rot_matrix
 
</s> remove     @staticmethod
    def compile_reprocess(processed, detect_images, angle):
 </s> add     def compile_reprocess(self, processed, detect_images, angle): </s> remove                     if self.verbose and angle != 0 and faces.any():
                        print("found face(s) by rotating image {} "
                              "degrees".format(angle))
 </s> add                 if angle != 0 and faces.any():
                    logger.verbose("found face(s) by rotating image %s degrees", angle) </s> remove                     faces = self.detector(current_image, 0)
 </s> add                 logger.trace("Detecting faces")
                faces = self.detector(current_image, 0)
                logger.trace("Detected faces: %s", [face for face in faces])
            rot_image, rot_matrix = self.rotate_image_by_angle(image, angle)
          for idx, faces in enumerate(processed):
              if faces:
                  continue
              image = detect_images[idx]
            rot_image, rot_matrix = self.rotate_image_by_angle(image, angle)
              to_detect.append(rot_image)
              indexes.append(idx)
          return to_detect, indexes, rot_matrix
keep keep keep keep replace keep keep keep
 Logging (#541)

* Convert prints to logger. Further logging improvements. Tidy  up

* Fix system verbosity. Allow SystemExit

* Fix reload extract bug

* Child Traceback handling

* Safer shutdown procedure

* Add shutdown event to queue manager

* landmarks_as_xy > property. GUI notes + linting. Aligner bugfix

* fix FaceFilter. Enable nFilter when no Filter is supplied

* Fix blurry face filter

* Continue on IO error. Better error handling

* Explicitly print stack trace tocrash log

* Windows Multiprocessing bugfix

* Add git info and conda version to crash log

* Windows/Anaconda mp bugfix

* Logging fixes for training 
plugins/extract/detect/dlib_cnn.py