  
      @property
      def frames_count(self):
          """ Return current frames count """
          return len(self.data)
  
      @property
      def faces_count(self):
          """ Return current faces count """
          return sum(len(faces) for faces in self.data.values())
 
</s> remove         return sum(len(faces) for faces in self.data.values())
 </s> add         retval = sum(len(faces) for faces in self.data.values())
        logger.trace(retval)
        return retval </s> remove         return AlignerExtract().transform_points(self.landmarksXY,
                                                 self.aligned["matrix"],
                                                 self.aligned["size"],
                                                 self.aligned["padding"])
 </s> add         landmarks = AlignerExtract().transform_points(self.landmarksXY,
                                                      self.aligned["matrix"],
                                                      self.aligned["size"],
                                                      self.aligned["padding"])
        logger.trace("Returning: %s", landmarks)
        return landmarks </s> remove         return AlignerExtract().get_original_roi(self.aligned["matrix"],
                                                 self.aligned["size"],
                                                 self.aligned["padding"])
 </s> add         roi = AlignerExtract().get_original_roi(self.aligned["matrix"],
                                                self.aligned["size"],
                                                self.aligned["padding"])
        logger.trace("Returning: %s", roi)
        return roi </s> remove             if not is_macos:
 </s> add             if not IS_MACOS: </s> remove         return AlignerExtract().transform_matrix(self.aligned["matrix"],
                                                 self.aligned["size"],
                                                 self.aligned["padding"])
 </s> add         mat = AlignerExtract().transform_matrix(self.aligned["matrix"],
                                                self.aligned["size"],
                                                self.aligned["padding"])
        logger.trace("Returning: %s", mat)
        return mat
        retval = len(self.data)
        logger.trace(retval)
        return retval
  
      @property
      def frames_count(self):
          """ Return current frames count """
        retval = len(self.data)
        logger.trace(retval)
        return retval
  
      @property
      def faces_count(self):
          """ Return current faces count """
          return sum(len(faces) for faces in self.data.values())
keep keep keep keep replace keep 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 
lib/alignments.py