          with self._cache["pose"][1]:
              if self._cache["pose"][0] is None:
                  lms = cv2.transform(np.expand_dims(self._frame_landmarks, axis=1),
                                      self._matrices["legacy"]).squeeze()
                  self._cache["pose"][0] = PoseEstimate(lms)
          return self._cache["pose"][0]
  
      @property
      def adjusted_matrix(self):
          """ :class:`numpy.ndarray`: The 3x2 transformation matrix for extracting and aligning the
          core face area out of the original frame with padding and sizing applied. """
 
</s> remove     def adjusted_matrix(self):
 </s> add     def adjusted_matrix(self) -> np.ndarray: </s> remove         with self._cache["pose"][1]:
            if self._cache["pose"][0] is None:
 </s> add         with self._cache.lock("pose"):
            if self._cache.pose is None: </s> remove         with self._cache["adjusted_matrix"][1]:
            if self._cache["adjusted_matrix"][0] is None:
 </s> add         with self._cache.lock("adjusted_matrix"):
            if self._cache.adjusted_matrix is None: </s> remove     def matrix(self):
 </s> add     def matrix(self) -> np.ndarray: </s> remove         if self._matrices[self._centering] is None:
 </s> add         if not np.any(self._matrices[self._centering]):
                self._cache.pose = PoseEstimate(lms)
        return self._cache.pose
          with self._cache["pose"][1]:
              if self._cache["pose"][0] is None:
                  lms = cv2.transform(np.expand_dims(self._frame_landmarks, axis=1),
                                      self._matrices["legacy"]).squeeze()
                self._cache.pose = PoseEstimate(lms)
        return self._cache.pose
                self._cache.pose = PoseEstimate(lms)
        return self._cache.pose
  
      @property
      def adjusted_matrix(self):
          """ :class:`numpy.ndarray`: The 3x2 transformation matrix for extracting and aligning the
          core face area out of the original frame with padding and sizing applied. """
keep keep keep keep replace replace keep keep keep keep keep
 lib.align.aligned_face updates
  - Typing
  - Legacy support for pre-aligned faces
  - Coverage support for pre-aligned faces
  - Standardized retrieval of sub-crops 
lib/align/aligned_face.py