Sort

class tools.alignments.jobs.Sort(alignments: AlignmentData, arguments: Namespace)

Bases: object

Sort alignments’ index by the order they appear in an image in left to right order.

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

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

Methods Summary

process()

Execute the sort process

reindex_faces()

Re-Index the faces

Methods Documentation

process() None

Execute the sort process

Return type:

None

reindex_faces() int

Re-Index the faces

Return type:

The count of re-indexed faces

process() None

Execute the sort process

Return type:

None

reindex_faces() int

Re-Index the faces

Return type:

The count of re-indexed faces