FSDK_FaceTemplate template1, template2;
float MatchingThreshold, Smilarity;
FSDK_GetMatchingThresholdAtFAR(0.02, &MatchingThreshold);
FSDK_GetFaceTemplate(img1, &template1);
FSDK_GetFaceTemplate(img2, &template2);
FSDK_MatchFaces(&template1, &template2, &Similarity);
if (Similarity > MatchingThreshold)
printf("Same Person/n");
else
printf("Different Person/n");
FSDK_GetMatchingThresholdAtFAR
最新推荐文章于 2018-09-05 14:33:37 发布