Prediction URL

Van, Shlesha 20 Reputation points
2023-08-31T21:23:57.2166667+00:00

I am doing this exercise and I am unable to find the right prediction URL. I tested both in Prediction API.

Computer Vision - url

Computer Vision
Computer Vision
An Azure artificial intelligence service that analyzes content in images and video.
415 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. VasaviLankipalle-MSFT 18,676 Reputation points Moderator
    2023-09-01T01:35:54.2466667+00:00

    Hello @Van, Shlesha , Thanks for using Microsoft Q&A Platform.

    I have reproduced the same on my end and everything is working as expected.

    Firstly, from the prediction API you can chose the URL based on the image option we are calling through the code. In the given exercise the code we are following for predicting the image is through URL (where images are stored) and we have already set that body under img(code Line 13). You can learn more about prediction API here: https://learn.microsoft.com/en-us/azure/ai-services/custom-vision-service/use-prediction-api

    So, in this case we have to choose the prediction URL that supports image URL. Copy the first URL till the end and paste it in the code and save the file.

    User's image

    Then your output should look something like this, and you can also verify the image here: https://github.com/MicrosoftLearning/AI-900-AIFundamentals/blob/main/data/vision/animals/animal-1.jpg

    User's image

    I hope this helps. Please let us know if you still face issues.

    Regards,

    Vasavi

    -Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.

    0 comments No comments

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.