Unable to use Custom Vision Model with latest library "Azure.AI.Vision.ImageAnalysis"

Deepankar 60 Reputation points
2024-12-19T16:04:23.3733333+00:00

Hi,

In the latest update of the library, I am unable to use the Analyze method or pass my custom model name through the endpoint to get the confidence score or other data for the image URI I am analyzing. Can someone provide the latest syntax for using a custom AI Vision Model deployed in C#?

I am unable to find the syntax on the Microsoft portal. It mentions passing the model name in the endpoint as a Model-name parameter for a custom vision model, but I need guidance on how to use the analyze function to get the confidence score of the image I am passing. The function requires both the feature parameter and the options parameter.

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.
254 questions
{count} votes

Accepted answer
  1. navba-MSFT 27,065 Reputation points Microsoft Employee
    2024-12-24T06:47:38.37+00:00

    @Deepankar Thanks for getting back. I had a discussion internally with our Product owners.

    .

    Please note that the SDK does not support custom models as of now. There is no ETA on when this would be supported. We will update this thread and our documentation once the support is added.

    .

    Workaround:

    The only workaround available as of now is to leverage and invoke the REST API for custom model.

    .

    Hope this answers.

    **

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.