BuildIt.CognitiveServices.FaceAPIV10Extensions.FaceVerify C# (CSharp) Метод

FaceVerify() публичный статический Метод

Verify whether two faces belong to a same person or whether one face belongs to a person. <br/><br/> Remarks: <ul> <li>This API works well for frontal and near-frontal faces. </li> <li>For the scenarios that are sensitive to accuracy please make your own judgment.</li> </ul> <h4>Http Method</h4> POST
public static FaceVerify ( this operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
Результат void
            public static void FaceVerify(this IFaceAPIV10 operations, string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string))
            {
                System.Threading.Tasks.Task.Factory.StartNew(s => ((IFaceAPIV10)s).FaceVerifyAsync(subscriptionKey, ocpApimSubscriptionKey), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None,  System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
            }