  
  if TYPE_CHECKING:
      from argparse import Namespace
      from lib.align.aligned_face import CenteringType
      from lib.align.alignments import AlignmentFileDict
      from lib.queue_manager import EventQueue
  
  logger = logging.getLogger(__name__)  # pylint:disable=invalid-name
  
  
 
</s> remove     from lib.align import DetectedFace
 </s> add 
    from lib.align.alignments import AlignmentFileDict, PNGHeaderDict, PNGHeaderSourceDict
  
  if TYPE_CHECKING:
      from argparse import Namespace
      from lib.align.aligned_face import CenteringType
    from lib.align.alignments import AlignmentFileDict, PNGHeaderDict, PNGHeaderSourceDict
      from lib.queue_manager import EventQueue
  
  logger = logging.getLogger(__name__)  # pylint:disable=invalid-name
  
  
keep keep keep keep replace keep keep keep keep keep
 Update Face Filter
  - Remove old face filter
  - plugins.extract.pipeline: Expose plugins directly
  - Change `is_aligned` from plugin level to ExtractMedia level
  - Allow extract pipeline to take faceswap aligned images
  - Add ability for recognition plugins to accept aligned faces as input
  - Add face filter to recognition plugin
  - Move extractor pipeline IO ops to own class 
tools/mask/mask.py