Question 82:
You have a requirement in your application to group faces based on the similar looking faces.Assuming that you have initialized the variables, authorized the API call, created the PersonGroup and created the persons for the PersonGroup. Review the code snippet given below for adding faces to the persons and complete it by choosing the most appropriate answer choice: <pre class="brush:java;">Parallel.For(0, PersonCount, async i => { Guid personId = persons[i].PersonId; string personImageDir = @"/path/to/person/i/images"; foreach (string imagePath in Directory.GetFiles(personImageDir, "*.jpg")) { await WaitCallLimitPerSecondAsync(); using (Stream stream = File.OpenRead(imagePath)) { await faceClient………………………………………………………….(personGroupId, personId, stream); }} }); </pre>
Answer options:
A.PersonGroupPerson.AddFaceFromUrlAsync B.PersonGroupPerson.CreateAsync C.PersonGroupPerson.UpdateFaceAsync D.PersonGroupPerson.AddFaceFromStreamAsync