Patch

class tools.preview.preview.Patch(app: Preview, arguments: Namespace)

Bases: object

The Patch pipeline

Runs in it’s own thread. Takes the output from the Faceswap model predictor and runs the faces through the convert pipeline using the currently selected options.

Parameters:
  • app (Preview) – The main tkinter Preview app

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

converter_arguments

The currently selected converter command line arguments for the patch queue

Type:

dict[str, Any] | None

Attributes Summary

converter

The converter to use for patching the images.

Attributes Documentation

converter

The converter to use for patching the images.

property converter: Converter

The converter to use for patching the images.