tool¶
face analysis tool.
Classes
Base tool for face analysis. |
- class FaceAnalysisTool(device, overwrite=False, verbose=True)[source]¶
Bases:
VideoTool
Base tool for face analysis.
- Parameters:
device (str)
overwrite (bool)
verbose (bool | int)
- inference(video_path, features_path)[source]¶
Template of the inference method.
- Parameters:
video_path (
Union
[str
,Path
]) – Path to the video file.features_path (
Union
[str
,Path
]) – Path to the feature archive.
- Returns:
- visualization(video_path, features_path, visualization_path)[source]¶
Template of the visualization method.
- Parameters:
video_path (
Union
[str
,Path
]) – Path to the video file.features_path (
Union
[str
,Path
]) – Path to the feature archive.visualization_path (
Union
[str
,Path
]) – Path to the visualization file.
- Returns: