Request a guide for Custom Vision

jinsu na 0 Reputation points
2023-11-08T02:30:40.6233333+00:00

To try Azure's Custom Vision
The test was carried out as described in the link below.
https://video2.skills-academy.com/ko-kr/azure/ai-services/computer-vision/quickstarts-sdk/image-analysis-client-library-40?pivots=programming-language-java&tabs=visual-studio%2Cwindows

However, the result value I received was not the normal result value of the sample but the error code as shown below.
code : 401
message : The Analyze Operation under Computer Vision API (2023-02-01-preview) is not supported with the current subscription key and pricing tier Custom_Vision.Training.S0.

Request to provide a guide for normal sample testing.

Azure AI Custom Vision
Azure AI Custom Vision
An Azure artificial intelligence service and end-to-end platform for applying computer vision to specific domains.
233 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,583 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. VasaviLankipalle-MSFT 15,836 Reputation points
    2023-11-10T19:14:35.29+00:00

    Hello @jinsu na , Thanks for using Microsoft Q&A Platform.

    Sorry for the delayed response. The error message indicates that the Analyze operation is part of the Computer Vision API, I believe you are using the Custom vision key details. Please make sure you have a valid subscription key and pricing tier for the Computer Vision service.

    Follow these prerequisites to create a resource under the computer vision API:

    Once you have your Azure subscription, create a Computer Vision resource in the Azure portal.

    User's image

    Here is the Git hub sample code along with the troubleshooting details: https://github.com/Azure-Samples/azure-ai-vision-sdk/tree/main/samples/java/image-analysis

    401: Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource.

    • The computer vision key you entered may be incorrect. Make sure you correctly copied the key from your Azure portal. It should be a 32-character HEX number (no dashes).

    I hope this helps.

    Regards,
    Vasavi

    Please take time to accept the answer if you feel helpful to support the community, thanks!

    0 comments No comments