How do I detect an image using a pre-existing project?

zachwalkergames 21 Reputation points
2022-06-17T21:25:26.603+00:00

I want to use the prediction API on a model I have already trained and published online. I understand that in this Quickstart Tutorial for C# that you can create a project and train a model with code. When you create this project through code, it creates an object of type Project where you can find the project ID. Is there any way to get an object of type Project from a pre-existing project? If not, where can I find the "project ID" or "publishedModelName" of my pre-existing project so I can detect with it through API calls?

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
6,996 questions
Azure Custom Vision
Azure Custom Vision
An Azure artificial intelligence service and end-to-end platform for applying computer vision to specific domains.
133 questions
No comments
{count} votes

Accepted answer
  1. romungi-MSFT 27,196 Reputation points Microsoft Employee
    2022-06-20T07:56:59.437+00:00

    @zachwalkergames You can use the GetProjects API to get the project details and GetIterations API to get details of published iterations along with the published name through REST API.

    Corresponding SDK client APIs for C# are also documented here for reference. I hope this helps!!

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.


1 additional answer

Sort by: Most helpful
  1. Rijwan Ansari 706 Reputation points Microsoft MVP
    2022-06-19T14:21:28.757+00:00

    Hi @zachwalkergames

    I am not clear with pre-existing project. However, once you have train your model, then you can use existing model i.e. projectid and publishedModelName into any new project or method.

    Regards
    Rijwan

    No comments