コード例 #1
0
 public virtual SimilarFace[] FindSimilar(Guid faceId, Guid[] faceIds, int maxNumOfCandidatesReturned = 20)
 {
     return(PolicyService.ExecuteRetryAndCapture400Errors(
                "FaceService.FindSimilar",
                ApiKeys.FaceRetryInSeconds,
                () =>
     {
         var result = FaceRepository.FindSimilar(faceId, faceIds, maxNumOfCandidatesReturned);
         return result;
     },
                null));
 }