nicetoolbox.detectors.feature_detectors.proximity.utils.frame_with_linegraph¶
- nicetoolbox.detectors.feature_detectors.proximity.utils.frame_with_linegraph(frame, data, current_frame, global_min, global_max)[source]¶
Combines a video frame with line graphs representing proximity scores up to the current frame.
- Parameters:
frame (numpy.ndarray) – The video frame to be combined with the line graphs.
data (list) – The list of data arrays containing proximity scores.
current_frame (int) – The current frame index.
global_min (float) – The minimum value for the y-axis of the line graphs.
global_max (float) – The maximum value for the y-axis of the line graphs.
- Returns:
The combined image of the frame and line graphs.
- Return type:
numpy.ndarray