frame_faces_to_alignment

lib.infer.objects.frame_faces_to_alignment(media: FrameFaces) list[PNGAlignments]

Convert the faces in a FrameFaces object into a list of dictionaries (one for each face) for serializing into image headers and alignments files

Parameters:

media (FrameFaces)

Return type:

list[PNGAlignments]