                  self._cache["interpolators"][0] = interpolators
          return self._cache["interpolators"][0]
  
      @classmethod
      def _set_cache(cls):
          """ Set the cache items.
  
          Items are cached so that they are only created the first time they are called.
 
</s> remove #: tools/sort/cli.py:123
 </s> add #: tools/sort/cli.py:126 </s> remove #: tools/sort/cli.py:110
 </s> add #: tools/sort/cli.py:113 </s> remove             mode=_("Filter Frames to only those Containing the Selected Item (F)"))
 </s> add             mode=_("Filter Frames to only those Containing the Selected Item (F)"),
            distance=_("Set the distance from an 'average face' to be considered misaligned. "
                       "Higher distances are more restrictive")) </s> remove #: ./tools/manual/frameviewer\frame.py:318
 </s> add #: tools/manual\frameviewer\frame.py:86
msgid "Set the distance from an 'average face' to be considered misaligned. Higher distances are more restrictive"
msgstr ""

#: tools/manual\frameviewer\frame.py:391
    @property
    def average_distance(self):
        """ float: The average distance of the core landmarks (18-67) from the mean face that was
        used for aligning the image. """
        with self._cache["average_distance"][1]:
            if self._cache["average_distance"][0] is None:
                # pylint:disable=unsubscriptable-object
                average_distance = np.mean(np.abs(self.normalized_landmarks[17:] - _MEAN_FACE))
                logger.trace("average_distance: %s", average_distance)
                self._cache["average_distance"][0] = average_distance
        return self._cache["average_distance"][0]

                  self._cache["interpolators"][0] = interpolators
          return self._cache["interpolators"][0]
  
    @property
    def average_distance(self):
        """ float: The average distance of the core landmarks (18-67) from the mean face that was
        used for aligning the image. """
        with self._cache["average_distance"][1]:
            if self._cache["average_distance"][0] is None:
                # pylint:disable=unsubscriptable-object
                average_distance = np.mean(np.abs(self.normalized_landmarks[17:] - _MEAN_FACE))
                logger.trace("average_distance: %s", average_distance)
                self._cache["average_distance"][0] = average_distance
        return self._cache["average_distance"][0]

      @classmethod
      def _set_cache(cls):
          """ Set the cache items.
  
          Items are cached so that they are only created the first time they are called.
keep keep add keep keep keep keep keep
 Add Misalignment Detection
  - lib.align.AlignedFace - Add average_distance property (distance from mean_face)
  - tools.manual - Add misaligned Faces filter
  - tools.sort - Add sort by distance (misaligned sort)Add "Misaligned Faces" filter to manual tool 
lib/align/aligned_face.py