ThumbsCreator
- class tools.manual.thumbnails.ThumbsCreator(detected_faces: DetectedFaces, input_location: str, single_process: bool)
Bases:
objectBackground loader to generate thumbnails for the alignments file. Generates low resolution thumbnails in parallel threads for faster processing.
- Parameters:
detected_faces (DetectedFaces) – The
DetectedFaceobjects for this videoinput_location (str) – The location of the input folder of frames or video file
single_process (bool) –
Trueto generated thumbs in a single process otherwiseFalse
Attributes Summary
Trueif the alignments file holds thumbnail images otherwiseFalse.Methods Summary
Extract the face thumbnails from a video or folder of images into the alignments file
Attributes Documentation
- has_thumbs
Trueif the alignments file holds thumbnail images otherwiseFalse.
Methods Documentation
- generate_cache() None
Extract the face thumbnails from a video or folder of images into the alignments file
- Return type:
None
- generate_cache() None
Extract the face thumbnails from a video or folder of images into the alignments file
- Return type:
None
- property has_thumbs: bool
Trueif the alignments file holds thumbnail images otherwiseFalse.