nicetoolbox.detectors.feature_detectors.proximity.utils.visualize_proximity_score¶
- nicetoolbox.detectors.feature_detectors.proximity.utils.visualize_proximity_score(data, output_folder, keypoint, camera_names=None)[source]¶
Visualizes the proximity score for a given data array and saves the plots as images.
Images are created for each camera. If the number of keypoints is greater than 1, the proximity score is visualized for the center of the selected keypoints.
- Parameters:
data (numpy.ndarray) – The data array containing proximity scores.
output_folder (str) – The path to the output folder where the images will be saved.
keypoint (str or list) – The name(s) of the keypoint(s) used for calculating proximity scores.
camera_names (list, optional) – The names of the cameras. Defaults to None.
- Returns:
None