n c
n c

Reputation: 1

microsoft face api error Resource not found(404)

I am running the microsoft face api and getting the exception "Resource not found(404)". tried both (separately) nuget packages:

enter image description here

enter image description here

I am using the following code : enter image description here

and the azure face configuration is the following: enter image description here

Why I'm getting this error? And another little question, is the 'Location' important or just a matter of response time?

Upvotes: 0

Views: 607

Answers (1)

Ali Heikal
Ali Heikal

Reputation: 4113

If you check the source repo of Torutek.Microsoft.ProjectOxford.Face you will find that it is actually a fork of Microsoft.ProjectOxford.Face.DotNetStandard which is basically the original repo, thus, they are both the same, but obviously the original repo is more up to date since it is the original!

In the original repo, you can find that it states the following:

This SDK has been deprecated and been replaced by Microsoft.Azure.CognitiveServices.Vision.Face which is a part of Azure SDK.

So the solution to your problem is to basically use the new and working NuGet package since the 2 you're currently using are deprecated:

You can also find a step by step guide on how to use it in the documentation

Upvotes: 1

Related Questions