DlibDotNet
DlibDotNet copied to clipboard
How To Get Value of Confidence From Image Comparison
i'm develop an API that can you access from https://mk-cideng.ddns.net:5001/ConsoleFR/Index , everything is ok but i want to add one feature which is i want to show a value of confidence from the result of Image Comparison
which function that i have to implement ?
thanks
u can change function CompareFaces: in : foreach (var faceEncoding in array) yield return FaceDistance(faceEncoding, faceEncodingToCheck) <= tolerance; }
sorry bro, im still dont get it, in which class / module that contain CompareFaces function ?
im using this code to detect the tolerance but how to return the value of this object var descriptors = dnn.Operator(chips); var edges = new List<SamplePair>(); for (uint i = 0; i < descriptors.Count; ++i) for (var j = i; j < descriptors.Count; ++j)
// record every pair of two similar faces
// faces are similar if they are less than 0.6 apart in the 128D embedding space
if (Dlib.Length(descriptors[i] - descriptors[j]) < 0.6)
Hi! u can see the library https://github.com/takuya-takeuchi/FaceRecognitionDotNet Ull have many examples!!