Video analysis
- expert.core.congruence.video_emotions.video_analysis.get_video_emotions(video_path: str | PathLike, features_path: str | PathLike, face_image: str | PathLike, device: torch.device | None = None, duration: int = 10) Tuple[List, str][source]
Classification of expert emotions on video.
- Parameters
video_path (str | PathLike) – Path to local video file.
features_path (str | PathLike) – Path to JSON file with information about detected faces.
face_image (str | PathLike) – Path to face image selected by user.
device (torch.device | None, optional) – Device type on local machine (GPU recommended). Defaults to None.