insightface icon indicating copy to clipboard operation
insightface copied to clipboard

如何提高相同id特征的相似度评分

Open wting861006 opened this issue 4 years ago • 2 comments

def cosin_metric(x1, x2): return np.dot(x1, x2) / (np.linalg.norm(x1) * np.linalg.norm(x2)) 我使用上述公式计算两个人脸特征的相似度评分,相同id的特征评分大约再0.4左右,请问有什么方法去提升这个评分,让它接近1?

wting861006 avatar Jun 01 '21 02:06 wting861006

余弦相似度可以吗

hl-gl avatar Jul 10 '23 06:07 hl-gl

+1

lwhite-sys avatar Jul 24 '25 07:07 lwhite-sys