Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Merge pull request #5 from MaxHorstmann/master
Browse files Browse the repository at this point in the history
Simplify code snippet
  • Loading branch information
wiazur committed Dec 19, 2019
2 parents 1610d41 + 211bfad commit 5f3c0fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Face/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ class Program

static void Main(string[] args)
{
FaceClient faceClient = new FaceClient(
new ApiKeyServiceClientCredentials(subscriptionKey),
new System.Net.Http.DelegatingHandler[] { });
var faceClient = new FaceClient(new ApiKeyServiceClientCredentials(subscriptionKey));
faceClient.Endpoint = faceEndpoint;



Console.WriteLine("Faces being detected ...");
var t1 = DetectRemoteAsync(faceClient, remoteImageUrl);
var t2 = DetectLocalAsync(faceClient, localImagePath);
Expand Down

0 comments on commit 5f3c0fa

Please sign in to comment.