Compute Pairwise Similarity Matrix for All Lineup Members
Source:R/similarity.R
lineup_pairwise_matrix.RdComputes a full pairwise similarity matrix between all faces in a lineup, including the target. Useful for understanding the overall structure of face similarities in the lineup.
Usage
lineup_pairwise_matrix(
target_path,
foil_paths,
model = "ArcFace",
metric = "cosine",
detector = "retinaface"
)