I'm trying to use CreatePersonResult to create a PersonGroup as described in the Face API documentation.
I've downloaded the nuget : Microsoft.Azure.CognitiveServices.Face to my solution.
I'm getting a missing reference to the CreatePersonResult.
I think the reference is from the old plugin Project.Oxford.Face
Please let me know what am I missing.
Link - https://docs.microsoft.com/en-us/azure/cognitive-services/face/face-api-how-to-topics/howtoidentifyfacesinimage
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@VisakhRaman Thanks for the feedback! We are currently investigating and will update you shortly.
@VisakhRaman Can you provide the URL of the Nuget package?
I found one link on the doc which took me to this specific Nuget package which I believe isn't the one you are using, right? https://www.nuget.org/packages/Microsoft.ProjectOxford.Face/
According to the documentation, the nuget package recommended is Microsoft.Azure.CognitiveServices.Vision.Face
URL - https://www.nuget.org/packages/Microsoft.Azure.CognitiveServices.Vision.Face/1.0.2-preview
ProjectOxford.Face has been deprecated ,right?
@VisakhRaman Thanks for your valuable feedback! That is also my understanding that now is the Face API also I did reproduce the issue. I have assigned the issue to the content author though so he can evaluate and update as appropriate.
Any update on this?
I have some doubts that I'd like to refer to once the documentation is updated.
@SteveMSFT Hi Steve, can you please have a look at this issue? Thanks a lot!
@PatrickFarley Hi Patrick, would you please take a look at this issue? Thank you!
I've asked the PM owner which NuGet version is to be officially recommended.
Getting an error message: Microsoft.ProjectOxford.Face.FaceAPIException: 'Access denied due to invalid subscription key. Make sure you are subscribed to an API you are trying to call and provide the right key.(Unspecified)'. I created a new FaceAPI service on my azure account, and was able to use the keys to run this tutorial successfully: https://docs.microsoft.com/en-us/azure/cognitive-services/Face/tutorials/faceapiincsharptutorial
Does the code here, "Example: How to identify faces in images" require a different subscription and keys?
Got it, FaceServiceClient needed the key AND URL: private readonly FaceServiceClient faceServiceClient = new FaceServiceClient(subscriptionKey2, "https://eastus.api.cognitive.microsoft.com/face/v1.0");
No that's not it. The latest nuget package is Microsoft. Azure.cognitiveservices.face.
Why does the document still use project Oxford?
Correct nuget pkg: https://www.nuget.org/packages/Microsoft.Azure.CognitiveServices.Vision.Face/2.2.0-preview
We are in the process of onboarding this to the main docs.microsoft.com repo. Changes will be made in the doc to reflect the appropriate package.
Use "Person" type.
Person friend1 = await _faceClient.PersonGroupPerson.CreateAsync