  
  import cv2
  import numpy as np
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  CenteringType = Literal["face", "head", "legacy"]
  
  _MEAN_FACE = np.array([[0.010086, 0.106454], [0.085135, 0.038915], [0.191003, 0.018748],
                         [0.300643, 0.034489], [0.403270, 0.077391], [0.596729, 0.077391],
 
</s> remove from . import AlignedFace, _EXTRACT_RATIOS, get_centered_size
 </s> add from . import AlignedFace, get_adjusted_center, get_centered_size

if TYPE_CHECKING:
    from .aligned_face import CenteringType

if sys.version_info < (3, 8):
    from typing_extensions import Literal
else:
    from typing import Literal </s> remove from .aligned_face import AlignedFace, _EXTRACT_RATIOS, get_matrix_scaling, get_centered_size, PoseEstimate, transform_image  # noqa
 </s> add from .aligned_face import (AlignedFace, _EXTRACT_RATIOS, get_adjusted_center,  # noqa
                           get_matrix_scaling,  get_centered_size, PoseEstimate, transform_image)
if sys.version_info < (3, 8):
    from typing_extensions import Literal
else:
    from typing import Literal

  
  import cv2
  import numpy as np
  
if sys.version_info < (3, 8):
    from typing_extensions import Literal
else:
    from typing import Literal

  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  CenteringType = Literal["face", "head", "legacy"]
  
  _MEAN_FACE = np.array([[0.010086, 0.106454], [0.085135, 0.038915], [0.191003, 0.018748],
                         [0.300643, 0.034489], [0.403270, 0.077391], [0.596729, 0.077391],
keep keep keep add keep keep keep keep keep keep
 lib.detected_face.Mask
  - Add source + target offset and coverage to set_sub_crop method 
lib/align/aligned_face.py