              The key is the tkinter canvas object type for each part of the mesh annotation
              (`polygon`, `line`). The value is a list containing the (x, y) coordinates of each
              part of the mesh annotation, from the top left corner location.
          """
          key = "{}_{}".format(frame_index, face_index)
          landmarks = self._landmarks.get(key, None)
          if not landmarks or refresh:
              aligned = AlignedFace(face.landmarks_xy,
                                    centering=self._centering,
                                    size=self.face_size)
 
</s> remove         masks = dict()
 </s> add         masks = {} </s> remove     h: int
 </s> add     height: int </s> remove                 # pylint:disable=unsubscriptable-object
 </s> add  </s> remove         retval = dict()
 </s> add         retval = {} </s> remove         face.landmarks_xy = cv2.transform(np.expand_dims(face.landmarks_xy, axis=0),
                                          rot_mat).squeeze()
 </s> add         face._landmarks_xy = cv2.transform(np.expand_dims(face.landmarks_xy, axis=0),
                                           rot_mat).squeeze()
        key = f"{frame_index}_{face_index}"
              The key is the tkinter canvas object type for each part of the mesh annotation
              (`polygon`, `line`). The value is a list containing the (x, y) coordinates of each
              part of the mesh annotation, from the top left corner location.
          """
        key = f"{frame_index}_{face_index}"
          landmarks = self._landmarks.get(key, None)
          if not landmarks or refresh:
              aligned = AlignedFace(face.landmarks_xy,
                                    centering=self._centering,
                                    size=self.face_size)
keep keep keep keep replace keep keep keep keep keep
 lib.align updates:
  - alignments.py
    - Add typed dicts for imported alignments
    - Explicitly check for presence of thumb value in alignments dict
    - linting
  - detected_face.py
    - Typing
    - Linting
    - Legacy support for pre-aligned face
    - Update dependencies to new property names 
tools/manual/faceviewer/viewport.py