public static void StudyFaces(Dictionary <string, string> idsAndTags, int delay) { List <string> ids = new List <string>(); foreach (var item in idsAndTags) { Thread.Sleep(delay); FaceResolver.SetFaceUser(item.Key, item.Value); ids.Add(item.Key); } FaceResolver.AddFacesToFaceset(ids.ToArray(), delay); }
public static List <FaceSearchModel> SearchFace(string faceId) { return(FaceResolver.Search(faceId)); }