Rename

class tools.alignments.jobs_faces.Rename(alignments: AlignmentData, arguments: Namespace | None, faces: Faces | None = None)

Bases: object

Rename faces in a folder to match their filename as stored in an alignments file.

Parameters:
  • alignments (AlignmentData) – The alignments data loaded from an alignments file for this rename job

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

  • faces (Faces | None) – An optional faces object, if the rename task is being called by another job. Default: None

Methods Summary

process()

Process the face renaming

Methods Documentation

process() None

Process the face renaming

Return type:

None

process() None

Process the face renaming

Return type:

None