Mask

class tools.mask.mask.Mask(arguments: Namespace)

Bases: object

This tool is part of the Faceswap Tools suite and should be called from python tools.py mask command.

Faceswap Masks tool. Generate masks from existing alignments files, and output masks for preview.

Wrapper for the mask process to run in either batch mode or single use mode

Parameters:

arguments (Namespace) – The argparse arguments as passed in from tools.py

Methods Summary

process()

The entry point for triggering the Extraction Process.

Methods Documentation

process() None

The entry point for triggering the Extraction Process.

Should only be called from lib.cli.launcher.ScriptExecutor

Return type:

None

process() None

The entry point for triggering the Extraction Process.

Should only be called from lib.cli.launcher.ScriptExecutor

Return type:

None