Exemple #1
0
        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);
        }
Exemple #2
0
 public static List <FaceSearchModel> SearchFace(string faceId)
 {
     return(FaceResolver.Search(faceId));
 }