nicetoolbox.detectors.feature_detectors.gaze_interaction.utils¶
Utility functions for visualizing gaze interaction data.
Functions
Visualizes the gaze interaction results across frames for multiple people and cameras. |
- nicetoolbox.detectors.feature_detectors.gaze_interaction.utils.visualize_gaze_interaction(data, categories_list, output_folder, people_names=None, camera_names=None) None[source]¶
Visualizes the gaze interaction results across frames for multiple people and cameras.
- Parameters:
data (ndarray) – The input data array of shape (distances, look_at, mutual).
categories_list (list) – The list of category names (i.e., [“distance_gaze_face”, “gaze_look_at”, “gaze_mutual”]).
output_folder (str) – The path to the output folder where the plots will be saved.
people_names (list, optional) – The list of names for each person. Defaults to None.
camera_names (list, optional) – The list of names for each camera. Defaults to None.
- Returns:
None