0

I built a Computer Vision Application following the Microsoft tutorial here:

https://github.com/Microsoft/computerscience/blob/master/Labs/Azure%20Services/Azure%20Storage/Azure%20Storage%20and%20Cognitive%20Services%20(MVC).md#Exercise1

Now I want to use customvision.ai instead of the standard Computer Vision. I moved my customvision project to Azure and thought I just had to change Subscription Key and Vision Endpoint but it does not seem to work.

<add key="VisionEndpoint" value="CustomVisionEndpoint" />
<add key="SubscriptionKey" value="ValueOfCustomVisionKeyInAzure" />

When I use the Computer Vision Endpoint and Key everything works fine, but if I use Custom Vision I get an error message:

Operation returned an invalid status code 'NotFound'

Anyone have any idea? Do I have to change additional values or what is the problem?

Thank you for any help

Best regards, Daniel

1 Answers1

0

On Azure Cognitive Services, Custom Vision Service is different from Computer Vision. They have different architectures, different APIs and different endpoints for calling. Therefore, their SDKs can not be compatible for each other.

You can deeper understand them via their offical samples for CustomVision and ComputerVision, even through their REST APIs in the Reference of Cognitive Services.

enter image description here

Peter Pan
  • 23,476
  • 4
  • 25
  • 43
  • You can add that there is a Nuget package for CustomVision which is https://www.nuget.org/packages/Microsoft.Azure.CognitiveServices.Vision.CustomVision.Prediction for the prediction side. The OP should use this package instead of the one mentioned in its demo (https://www.nuget.org/packages/Microsoft.Azure.CognitiveServices.Vision.ComputerVision) – Nicolas R Mar 11 '19 at 22:01