Skip to content

Commit e71ca9f

Browse files
authored
Merge pull request #197 from PatrickFarley/pafarley-updates
include whole method in snippets
2 parents 4d2bbdd + 5b212e9 commit e71ca9f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

documentation-samples/quickstarts/Face/Program.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,12 +400,12 @@ public static async Task Verify(IFaceClient client, string url, string recogniti
400400
* a list of Person objects that each face might belong to. Returned Person objects are wrapped as Candidate objects,
401401
* which have a prediction confidence value.
402402
*/
403+
// <snippet_persongroup_files>
403404
public static async Task IdentifyInPersonGroup(IFaceClient client, string url, string recognitionModel)
404405
{
405406
Console.WriteLine("========IDENTIFY FACES========");
406407
Console.WriteLine();
407408

408-
// <snippet_persongroup_files>
409409
// Create a dictionary for all your images, grouping similar ones under the same key.
410410
Dictionary<string, string[]> personDictionary =
411411
new Dictionary<string, string[]>
@@ -479,8 +479,9 @@ public static async Task IdentifyInPersonGroup(IFaceClient client, string url, s
479479
$" confidence: {identifyResult.Candidates[0].Confidence}.");
480480
}
481481
Console.WriteLine();
482-
// </snippet_identify>
483482
}
483+
// </snippet_identify>
484+
484485
/*
485486
* END - IDENTIFY FACES
486487
*/

0 commit comments

Comments
 (0)