  
      @staticmethod
      def rotate_rect(d_rect, rotation_matrix):
          """ Rotate a dlib rect based on the rotation_matrix"""
          d_rect = rotate_landmarks(d_rect, rotation_matrix)
          return d_rect
  
      @staticmethod
 
</s> remove         return rotate_image_by_angle(image, angle)
 </s> add         return self.rotate_image_by_angle(image, angle) </s> remove     def get_vram_free(self):
 </s> add     @staticmethod
    def get_vram_free(): </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:
            print("Using device {} with {}MB free of {}MB".format(
                vram["device"],
                int(vram["free"]),
                int(vram["total"])))
 </s> add         logger.verbose("Using device %s with %sMB free of %sMB",
                       vram["device"],
                       int(vram["free"]),
                       int(vram["total"])) </s> remove     @staticmethod
    def rotate_image(image, angle):
 </s> add     def rotate_image(self, image, angle):
        logger.trace("Rotating d_rectangle")
  
      @staticmethod
      def rotate_rect(d_rect, rotation_matrix):
          """ Rotate a dlib rect based on the rotation_matrix"""
        logger.trace("Rotating d_rectangle")
          d_rect = rotate_landmarks(d_rect, rotation_matrix)
          return d_rect
  
      @staticmethod
keep keep keep add keep 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/_base.py