We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1610d41 + 211bfad commit 5f3c0faCopy full SHA for 5f3c0fa
1 file changed
Face/Program.cs
@@ -26,11 +26,11 @@ class Program
26
27
static void Main(string[] args)
28
{
29
- FaceClient faceClient = new FaceClient(
30
- new ApiKeyServiceClientCredentials(subscriptionKey),
31
- new System.Net.Http.DelegatingHandler[] { });
+ var faceClient = new FaceClient(new ApiKeyServiceClientCredentials(subscriptionKey));
32
faceClient.Endpoint = faceEndpoint;
33
+
34
Console.WriteLine("Faces being detected ...");
35
var t1 = DetectRemoteAsync(faceClient, remoteImageUrl);
36
var t2 = DetectLocalAsync(faceClient, localImagePath);
0 commit comments